summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/25_algorithms/rotate/requirements/explicit_instantiation/2.cc
diff options
context:
space:
mode:
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-17 03:15:52 +0000
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>2015-01-17 03:15:52 +0000
commitdfd88237e525b123a48355f2f886cc77d8ebf3c6 (patch)
tree3f74350c4458de998a6b0411e80f309d377e4151 /libstdc++-v3/testsuite/25_algorithms/rotate/requirements/explicit_instantiation/2.cc
parentc63e3c453519ac340c99196bd5714b0a5fb3e557 (diff)
downloadgcc-dfd88237e525b123a48355f2f886cc77d8ebf3c6.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219793 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/25_algorithms/rotate/requirements/explicit_instantiation/2.cc')
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/rotate/requirements/explicit_instantiation/2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/25_algorithms/rotate/requirements/explicit_instantiation/2.cc b/libstdc++-v3/testsuite/25_algorithms/rotate/requirements/explicit_instantiation/2.cc
index d48e6537498..ec8c917801e 100644
--- a/libstdc++-v3/testsuite/25_algorithms/rotate/requirements/explicit_instantiation/2.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/rotate/requirements/explicit_instantiation/2.cc
@@ -30,5 +30,5 @@ namespace std
typedef NonDefaultConstructible value_type;
typedef value_type* iterator_type;
- template void rotate(iterator_type, iterator_type, iterator_type);
+ template iterator_type rotate(iterator_type, iterator_type, iterator_type);
}