This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

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


Hi,

according to n3242 8.5.6,

If a program calls for the default initialization of an object of a
const-qualiïed 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.

Attachment: libstdc++-explicit-default-ctor.patch
Description: Binary data


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