How can I do this? (The following code does NOT work, but I hope it explains the idea.)
class MyClass { .... private: int ToBeCalled(int a, char*
I'm assuming you tried Caller(MyClass::ToBeCalled, "stuff") already, but is there any particular reason you need a function pointer? Also, please post the actual compiler error.
Caller(MyClass::ToBeCalled, "stuff")