Lecture 5 - Slide 14 : 40 |
A pointer to a member function corresponds to a function pointer
Useful for activation of an unknown/arbitray method among several possible of the same signature
The two special C++ operators .* and ->* bind a pointer to member to a specific object (accessed without or via a pointer respectively)
It is also possible to estabslish a pointer to a data member
The notation associated with pointers to members is a challenge, at least at first sight