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]

[v3] Fix libstdc++/32618, add in C++0x mode container cons and resize taking size_type


Hi,

even if the subject of the PR isn't terribly telling, this boils down to
adding, uniformly on the containers, constructor and resize taking a
size_type and not requiring CopyConstructible for the value_type. In
principle, it would be possible to do this also unconditionally, for
C++03 too, but we used to guarantee that all the containers (with the
exception of map) can be also explicitly instantiated for
NonDefaultConstructible types too...

The forward_list hunks represent a pure bug fix, affect only C++0x mode
and will go in 4_5-branch too.

Tested x86_64-linux, committed.

Paolo.

//////////////////////////

Attachment: CL_32618
Description: Text document

Attachment: patch_32618
Description: Text document


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