Constructors and Destructors - calling virtual functions....
I have a question about constructors and destructors calling virtual functions. The code to a simple program I am attaching illustrates my question.
I'd like to know what the standard says about this, because from the information I know - it appears as a VC++ bug. (version 6.0) I say that, because there is a switch in the compiler options for turning on and off the vtable member, and it says only disable this if you are sure constructors and destructors call virtual functions virtually. It does it with the member on or off - failing to call the derived overloaded functions and calling the base class version both times.