I have a function
typedef (bool)(*Callback)(void);
SystemMgr->SetFrameFunc(Callback func);
now I have this class
If I try to use the GameMgr::CallbackFunc in the SetFrameFunc() function, I get errors saying use &GameMgr::CallbackFunc to get pointer to member, but it does not work. Any help would be greatly appreciated.Code:class GameMgr { public: bool CallbackFunc() { return false; } };