2018-08-08 François Dumont <fdumont@gcc.gnu.org>
authorFrançois Dumont <fdumont@gcc.gnu.org>
Wed, 8 Aug 2018 20:28:21 +0000 (20:28 +0000)
committerFrançois Dumont <fdumont@gcc.gnu.org>
Wed, 8 Aug 2018 20:28:21 +0000 (20:28 +0000)
commit29a9c26c554433dd4e8010040b02e11ddbab8bd6
treeb7cb21d4b2277b32dd4de540b90b5bc959e46a2b
parentede9446c26a9290bfb60422b31868212c00a4af7
2018-08-08  François Dumont  <fdumont@gcc.gnu.org>

* include/bits/stl_algo.h
(__rotate(_Ite, _Ite, _Ite, forward_iterator_tag))
(__rotate(_Ite, _Ite, _Ite, bidirectional_iterator_tag))
(__rotate(_Ite, _Ite, _Ite, random_access_iterator_tag)): Move code duplication...
(rotate(_Ite, _Ite, _Ite)): ...here.
(__stable_partition_adaptive(_FIt, _FIt, _Pred, _Dist, _Pointer, _Dist)):
Simplify rotate call.
(__rotate_adaptive(_BIt1, _BIt1, _BIt1, _Dist, _Dist, _Bit2, _Dist)):
Likewise.
(__merge_without_buffer(_BIt, _BIt, _BIt, _Dist, _Dist, _Comp)):
Likewise.

From-SVN: r263433
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_algo.h