[Bug c++/13986] [3.4/3.5 regression] Unnecessary access check for copy constructor
mmitchel at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Feb 3 05:32:00 GMT 2004
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-02-03 05:32 -------
A conforming implementation is allowed to actually call the copy constructor in
this case. It is purely an optimization to elide it. The error message is what
you would get if G++ actually did call the copy constructor. Therefore, the
message is consistent with the standard.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13986
More information about the Gcc-bugs
mailing list