Improve std::rotate usages
François Dumont
frs.dumont@gmail.com
Wed May 2 05:26:00 GMT 2018
Hi
   std::rotate already returns the expected iterator so there is no
need for calls to std::advance/std::distance.
Tested under Linux x86_64, ok to commit ?
François
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rotate_usages.patch
Type: text/x-patch
Size: 3057 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20180502/82a89532/attachment.bin>
More information about the Libstdc++
mailing list