I am somewhat new to c++ and just found a solution for this that in my own project might help you. I don''t know if it is the right way but it works for me.
After going through the all the stuff to declare and set a member function pointer, create a member public inline function that wraps the (this->*MemberFunctionPointerName)() call. That way you have simplified the syntax of function pointers, allowed external access without adding additional overhead.
Lee Moore
Popular Topics
Advertisement