How can I create a function pointer that is in a class that points to another member of that same class (so I can switch out "strategies" without checking some boolean)?
When I have this declaration in the class header:
void (Scene::*m_pRenderFunc)();
I can initialize it but I cannot call it (it doesn't compile).
Well, I want to call it from another member function of that same class.
using the "this" keyword to replicate what you showed in the class didn't work.