#define callMemberFunction(object,ptrToMember) ((object).*(ptrToMember))
Programming Tips - C++:: how to call a pointer to a member function
Date: 2011jul7
Language: C++
Q. C++:: how to call a pointer to a member function
A. Use this handy macro: