[Bug c++/28169] Tertiary operator: object creation and initialization
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Jun 26 18:18:00 GMT 2006
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-06-26 18:16 -------
Here is what is happening currently with GCC:
Base ctor...
Derived ctor...
Base copy ctor...
~Derived called...
~Base called...
Base show called...
~Base called...
So you missed the copy constructor, now I don't know if this is correct or not
yet.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28169
More information about the Gcc-bugs
mailing list