C++ Language/Std/Stl/CallableObjects/ImplicitGetterFunction
For every data member in a class, there is an implicit getter-function (even if the programmer didn't explicitly define that as a member function):std::function<int(const CRType*)> GetMember
= &CRType::m_iMember;
Additional information about implicit getter-functions (includes interactive examples)
Category:Book:C++ Language#Std/Stl/CallableObjects/ImplicitGetterFunction%20