Here is what I want to realize:
class Delegate { public: void SetFunction(void(*fun)()); private: void(*mEventFunction)(); }
Then i
You should pass &Test::OnEventStarted, this is the right syntax for a member function pointer
&Test::OnEventStarted
And after that, you'll have to get an instance of the Test class to run the function like this
instanceOfTest->*mEventFunction()