--- 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 sa
--- 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
--- 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)...
object creation and initialization
Product: gcc
Version: 3.4.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: joseph dot rajesh at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28169