This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28169] Tertiary operator: object creation and initialization
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jun 2006 18:16:52 -0000
- Subject: [Bug c++/28169] Tertiary operator: object creation and initialization
- References: <bug-28169-12730@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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