This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16982] wrong copy ctor called
- From: "boris at kolpackov dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Aug 2004 16:31:46 -0000
- Subject: [Bug c++/16982] wrong copy ctor called
- References: <20040811154232.16982.boris@kolpackov.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From boris at kolpackov dot net 2004-08-11 16:31 -------
In 14140 we are talking about slice-copying (note the signature: void func(base
b)). Here we are talking about reference binding. Those two cases may look alike
on the source code level but they are covered by completely different parts of
the standard.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16982