is it possible to in the baseclass declare a function-pointer that
will point to a function in the derived class?
like:
now offcourse I get an "cannot convert from 'void (__thiscall derive::*)()' to 'void (__thiscall base::*)()" error butCode:class base { void (base::*ptrToFunction)(); } class derived : public base { void doSomething(); derived(){ptrToFunction=doSomething;}; }
is there a way to accomplish this?
thanks
/btqq