[v3] Fix std::iter_swap vs vector<bool> in C++11 mode

Paolo Carlini paolo.carlini@oracle.com
Mon Mar 5 15:15:00 GMT 2012


Hi,

these are the simple (should be safe for 4.7.1 too) changes for the 
issue recently raised by Daniel on the library reflector (32207). The 
swap overloads for std::bitset are more tricky because its iterator 
isn't S.C.A.R.Y. but in any case that is definitely beyond the letter of 
C++11, can wait for 4.8.

Tested x86_64-linux.

Thanks,
Paolo.

////////////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_vb_swap
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20120305/090a0368/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_vb_swap
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20120305/090a0368/attachment-0001.ksh>


More information about the Libstdc++ mailing list