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++/17435] [4.0 Regression] Binding a temporary of derived type to reference of base


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


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