This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/16982] wrong copy ctor called


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]