Determine base class member function pointer for member function pointer of derived class.

23 Dec
2008
23 Dec
'08
7:22 p.m.
Hello, is there an automatic way to determine the base class member function pointer &base::fn from the derived member function pointer &derived::fn? Or do you know that there is no way to do this with current c++? It should work like this: class base { public: virtual void fn( void ); }; class derived : public base { public: void fn( void ); } main() { base_pointer = get_base_pointer( &derived::fn ); } Thanks, Siegfried
5906
Age (days ago)
5906
Last active (days ago)
0 comments
1 participants
participants (1)
-
Siegfried Kettlitz