[patch] libstdc++/58357 change std::rotate to std::_V2::rotate

Jonathan Wakely jwakely@redhat.com
Thu Feb 19 20:57:00 GMT 2015


DR 488 changed std:rotate to return an iterator, implemented on trunk
in r219793. To avoid problems where code expecting a non-void return
links to an instantiation of the old void-returning definition I'm
putting the new definition in the inline namespace _V2 (already used
for other entities that have changed, such as
std::condition_variable_any).

Tested x86_64-linux, committed to trunk.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 1551 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20150219/258b024e/attachment.bin>


More information about the Libstdc++ mailing list