[Bug c++/12226] g++ fails to enforce accessibility requirement for copy constructor
austern at apple dot com
gcc-bugzilla@gcc.gnu.org
Tue Sep 9 18:02:00 GMT 2003
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."
More information about the Gcc-bugs
mailing list