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++/57977] zero-length const array in union prohibits default copy xtor


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.


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