Getting around a compiler error
I really need to print what the address of a certain member function is, but the compiler is complaining, saying
"error: ISO C++ forbids taking the address of a bound member function to form a pointer to member function. "
It suggests saying &ClassName::MemberName, but the problem is that this function is pure virtual, so that would probably just print 00000000 or perhaps the address of some runtime-error generating function.
How can I get around this error to allow me to get what this function is currently set to in the vtable?