Hello again!
I'm working on a project where I need a function to take the address of another function as its argument, then in the function I set a pointer to the address, like here:
This doesn't give me an error, still I don't know how to use pFrameFunc now... Also, I want to do recursion to the function which address was passed to SetFrameFunc, does anyone have any ideas on how to do this?Code:virtual void SetFrameFunc( bool &FrameFunc_() ) { pFrameFunc = &FrameFunc_(); }
Thanks in advance!