This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18448] g++ attempts to use copy constructor instead of operator = on instantiated object
- From: "megath at iof dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Nov 2004 13:10:43 -0000
- Subject: [Bug c++/18448] g++ attempts to use copy constructor instead of operator = on instantiated object
- References: <20041112104242.18448.megath@iof.ru>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From megath at iof dot ru 2004-11-12 13:10 -------
about
<i>Copy constructor access check while initializing a reference.</i>
? yes. sorry.
*p = A() constructs copy of object now? what for ?
doesnt it degrades perfomance?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18448