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