DR 488 PR libstdc++/58357
authorJonathan Wakely <jwakely@redhat.com>
Sat, 17 Jan 2015 03:15:52 +0000 (03:15 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sat, 17 Jan 2015 03:15:52 +0000 (03:15 +0000)
commit1d0a12dc55776a8209d4dea67b2a485923dbfdf5
tree3f74350c4458de998a6b0411e80f309d377e4151
parentaed381270dc77cc5dd8f1a761fa66eeb5ebdc189
DR 488 PR libstdc++/58357

DR 488
PR libstdc++/58357
* include/bits/algorithmfwd.h (rotate): Return an iterator.
* include/bits/stl_algo.h (rotate, __rotate): Likewise.
* testsuite/25_algorithms/rotate/dr488.cc: New.
* testsuite/25_algorithms/rotate/check_type.cc: Adjust function type.
* testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
2.cc: Likewise.
* testsuite/25_algorithms/rotate/requirements/explicit_instantiation/
pod.cc: Likewise.

From-SVN: r219793
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/algorithmfwd.h
libstdc++-v3/include/bits/stl_algo.h
libstdc++-v3/testsuite/25_algorithms/rotate/check_type.cc
libstdc++-v3/testsuite/25_algorithms/rotate/dr488.cc [new file with mode: 0644]
libstdc++-v3/testsuite/25_algorithms/rotate/requirements/explicit_instantiation/2.cc
libstdc++-v3/testsuite/25_algorithms/rotate/requirements/explicit_instantiation/pod.cc