[Bug c++/57977] zero-length const array in union prohibits default copy xtor

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 25 05:37:00 GMT 2013


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

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
It is not the zero length which is causing the copy constructor to be created
but rather the const part which causes the copy constructor to happen.



More information about the Gcc-bugs mailing list