[Patch] List::splice (and merge) bits of N1599

Paolo Carlini pcarlini@suse.de
Thu Jan 19 17:06:00 GMT 2006


Hi,

we weren't implementing these bits, which, actually are necessary for
consistency in the use of non-empty allocators together with std::list.

Howard, it seems to me that, besides all three overloads of splice, both
merge overloads must be also fixed.

Also checked that for empty allocators the additional check is
completely optimized out already at -O1, at tree-level.

Tested x86-linux.

Paolo.

/////////////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_1599_list
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20060119/c30103ca/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_1599_list
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20060119/c30103ca/attachment-0001.ksh>


More information about the Libstdc++ mailing list