I
Irtech
Hello,
I have a class that has a function pointer member. for assigning functions to function pointer I use a public function "SetCallback".
at the construction time I want to assign a default function to my function pointer called "DefaultCallBack".
Unfortunately I couldn't do that till now because I get compiler errors.
I use VC++ in visual studio 2012 which supports c++11.
here is my code:
http://pastebin.com/CzxnnGPQ
Can you please tell me why this code does not compile ?
thanks.
I have a class that has a function pointer member. for assigning functions to function pointer I use a public function "SetCallback".
at the construction time I want to assign a default function to my function pointer called "DefaultCallBack".
Unfortunately I couldn't do that till now because I get compiler errors.
I use VC++ in visual studio 2012 which supports c++11.
here is my code:
http://pastebin.com/CzxnnGPQ
Can you please tell me why this code does not compile ?
thanks.