summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/25_algorithms/remove_if
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-10-07 11:14:11 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-10-07 11:14:11 +0000
commitfa9ecc47e472ab762b512cb10724490df63977e1 (patch)
treedb0f68e1e2e8c70e090187aac47f22a57f657970 /libstdc++-v3/testsuite/25_algorithms/remove_if
parent8e9253759f3473ba68d0887bc008e276f6441593 (diff)
downloadgcc-fa9ecc47e472ab762b512cb10724490df63977e1.tar.gz
2007-10-07 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_algobase.h (_GLIBCXX_MOVE): Add. (swap, __iter_swap): Use it. * testsuite/25_algorithms/rotate/moveable.cc: Remove dg-require-rvalref. * testsuite/25_algorithms/remove/moveable.cc: Likewise. * testsuite/25_algorithms/partition/moveable.cc: Likewise. * testsuite/25_algorithms/swap_ranges/moveable.cc: Likewise. * testsuite/25_algorithms/reverse/moveable.cc: Likewise. * testsuite/25_algorithms/unique/moveable.cc: Likewise. * testsuite/25_algorithms/remove_if/moveable.cc: Likewise. * include/bits/stl_algobase.h (lexicographical_compare): Clean up. 2007-10-07 Chris Jefferson <chris@bubblescope.net> Paolo Carlini <pcarlini@suse.de> * include/bits/stl_algo.h (remove, remove_if, unique, __rotate(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, random_access_iterator_tag)): Use _GLIBCXX_MOVE. (__rotate(_ForwardIterator, _ForwardIterator, _ForwardIterator, forward_iterator_tag), __rotate(_BidirectionalIterator, _BidirectionalIterator, _BidirectionalIterator, bidirectional_iterator_tag), __partition(_ForwardIterator, _ForwardIterator, _Predicate, forward_iterator_tag)): Use iter_swap. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129068 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/25_algorithms/remove_if')
-rw-r--r--libstdc++-v3/testsuite/25_algorithms/remove_if/moveable.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/libstdc++-v3/testsuite/25_algorithms/remove_if/moveable.cc b/libstdc++-v3/testsuite/25_algorithms/remove_if/moveable.cc
index 15b9ab679d8..db49433452f 100644
--- a/libstdc++-v3/testsuite/25_algorithms/remove_if/moveable.cc
+++ b/libstdc++-v3/testsuite/25_algorithms/remove_if/moveable.cc
@@ -1,4 +1,3 @@
-// { dg-require-rvalref "" }
// { dg-options "-std=gnu++0x" }
// Copyright (C) 2005, 2007 Free Software Foundation, Inc.