[Bug c++/52972] Pure virtual method is called instead of child's method
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 13 16:28:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52972
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-04-13 16:27:44 UTC ---
right, during the base constructor the derived class hasn't been constructed
yet and you can't call its virtual functions
More information about the Gcc-bugs
mailing list