[Bug c++/39934] Union member incorrectly disallowed
redi at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Nov 4 15:28:00 GMT 2009
------- Comment #10 from redi at gcc dot gnu dot org 2009-11-04 15:28 -------
To be clear: In C++0x struct A would have a deleted copy assign operator, and
union U would be allowed, but its copy assignment operator would be deleted.
IMHO C++03 is not clear whether struct A has a trivial assignment operator or
not.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39934
More information about the Gcc-bugs
mailing list