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++/12226] g++ fails to enforce accessibility requirement for copy constructor


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12226



------- Additional Comments From austern at apple dot com  2003-09-09 18:02 -------
Oh, one more quote from the standard: clause 12.2, paragraph 1: "Temporaries of class types are 
created in various contexts ... Even when the creation of the temporary object is avoided, all the 
semantic checks must be respected as if the temporary object was created."


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