[Bug c++/69384] defaulted default constructor not defined as deleted for class with a const data member which does not have a user-provided default constructor
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 20 12:54:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69384
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The standard has a defect:
http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#253
GCC implements the proposed resolution already, this is documented at:
https://gcc.gnu.org/gcc-4.6/changes.html#cplusplus
Other compilers will catch up one day :-)
More information about the Gcc-bugs
mailing list