This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/28169] Tertiary operator: object creation and initialization



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]