[PATCH] Add explicit default constructors where required by the standard

Evgeniy Stepanov eugenis@google.com
Fri Apr 19 14:42:00 GMT 2013


Hi,

according to n3242 8.5.6,

If a program calls for the default initialization of an object of a
const-qualified type T, T shall be a class type with a user-provided
default constructor.

This patches fixes 3 places in libstdc++ code where this requirement
is violated.

Please review.
I don't have svn write access.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libstdc++-explicit-default-ctor.patch
Type: application/octet-stream
Size: 1115 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20130419/ad416e01/attachment.obj>


More information about the Libstdc++ mailing list