The containing class defines a get method. It also defines a static method that contains the offset of the given property from within the container. Then the template is parameterised with the the reference type, the container type, the member function and the offset function.
< R, C, PFnOff, PFnGet >
Public Member Functions
|operator reference_type () const|
|Provides read-only access to the property. |
|operator reference_type||(||)|| const
Provides read-only access to the property.