Determined if a virtual function is overloaded
Posted on 1998-12-18
Given a base class pointer to an object that may be of a derived class, is there a way to determine if the object has overidden a particular virtual function without calling that function. (And without calling some sort of virtual querry function that the programmer hardcodes to indicate if the function has been overidden--I want something automatic.) I have been fooling with trying to get a pointer to member for the virtual function, but so far nothing I've tried has been successful--syntax errors.