Why would one use function pointers to member method in C++?
A lot of C++ books and tutorials explain how to do this, but I haven't seen one that gives a convincing reason to choose to do this. I understand very well why function pointers were necessary in C (e.g., when using some POSIX facilities). However, AFAIK you can't send them a member function because of the "this" parameter. But if you're already using classes and objects, why not just use an object oriented solution like functors? Real world examples of where you had to use such function pointers would be appreciated. Update: I appreciate everyone's answers. I have to say, though, that none of