[Bug c++/17435] [4.0 Regression] Binding a temporary of derived type to reference of base
vlukas at gmx dot de
gcc-bugzilla@gcc.gnu.org
Mon Sep 13 15:07:00 GMT 2004
------- Additional Comments From vlukas at gmx dot de 2004-09-13 15:07 -------
(In reply to comment #4)
> I think I remember that there was some language in the standard that
> says that the compiler _may_ invoke the copy constructor (which, btw,
> was the reason the copy constructor of the base class has to be
> accessible, one of our constant streams of bug reports). I understand
> that that is a rather vague pointer at the right place of the standard,
> I guess I will have to go look it up some time, just not today.
I assume you mean 12.2 "Temporary objects".
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17435
More information about the Gcc-bugs
mailing list