Technologies, computing and programming are my passions. I talk about these passions here.

Wednesday, February 18, 2009

C++: Pointer to members

Pointer to member operators are not an everyday operators that we use but those can be useful if used in the correct way. Pointer to member operator ::* is used to declare a pointer that points to a member variable, pointer or function of a class. The operators .* and ->* are used to access it.

Following is an example of how we can use Pointer to member function (also called member function pointer).

3 comments:

I wanted to contact you to ask if you may be interested participating in The Falcon Programming Language. We're forming the core developers group in this days, so this is an interesting moment to be in.

I am linking here (http://falconpl.org/devel_mail.txt) the complete text of the request we are sending to 20 developers carefully selected throughout all the net.

You can contact me back through the "People at work" page on our site, clicking on my name.