[Bug c++/36911] Virtual function problem
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Jul 23 18:15:00 GMT 2008
------- Comment #2 from pinskia at gcc dot gnu dot org 2008-07-23 18:14 -------
Yes this is correct as you are calling the virtual function inside a
constructor which means the virtual of that class is going to be called always
... This is the only way you can call a pure virtual function in fact :).
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36911
More information about the Gcc-bugs
mailing list