Function pointers are very handy in C++. But they don’t work on class methods, here is a neat workaround, that even works with virtual methods.
» more