[Bug c++/29437] [decl.init.ref]/5 wrongly implemented

2006-10-12 Thread joseph dot rajesh at gmail dot com
--- Comment #4 from joseph dot rajesh at gmail dot com 2006-10-12 12:10 --- (In reply to comment #3) Forget this, the type of the rhs is of course an rvalue of type Base, there is no need to copy the entire Derived object. W. Hi, I was pointing to the same error. But I think I

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

2006-06-27 Thread joseph dot rajesh at gmail dot com
--- Comment #4 from joseph dot rajesh at gmail dot com 2006-06-27 07:38 --- The intel compiler version 9.1 gave me the following output Base ctor... Derived ctor... Base COPTY ctor... Base COPTY ctor... ~Base called... ~Derived called... ~Base called... Base show called... ~Base

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

2006-06-26 Thread joseph dot rajesh at gmail dot com
ReportedBy: joseph dot rajesh at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28169

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

2006-06-26 Thread joseph dot rajesh at gmail dot com
--- Comment #3 from joseph dot rajesh at gmail dot com 2006-06-27 04:09 --- No I haven't missed the copy constructor... I checked the working with copy constructor also... I know g++ is doing a conversion and making a copy of type Base (Using Base copy constructor)... that's why