OSDN Git Service

2010-12-07 Fran├žois Dumont <francois.cppdevs@free.fr>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Dec 2010 01:23:41 +0000 (01:23 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Dec 2010 01:23:41 +0000 (01:23 +0000)
commit93beff2dd556f8f1d72fd499d2295c74a77d21bb
treeac8a43e1c1fd71f771edded23b172af763d98a8c
parenta50c1df73e3db533c444ae6928fed06ce6a4d773
2010-12-07  Fran├žois Dumont  <francois.cppdevs@free.fr>

* include/bits/stl_iterator.h: Add move_iterator operators overloads
to make it robust to template abuses.
* testsuite/util/testsuite_greedy_ops.h: New.
* testsuite/23_containers/vector/types/1.cc: Use latter.
* testsuite/23_containers/deque/types/1.cc: Likewise.
* testsuite/24_iterators/move_iterator/greedy_ops.cc: New.
* testsuite/24_iterators/normal_iterator/greedy_ops.cc: New.
* testsuite/24_iterators/reverse_iterator/greedy_ops.cc: New.
* testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
line numbers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167580 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_iterator.h
libstdc++-v3/testsuite/20_util/weak_ptr/comparison/cmp_neg.cc
libstdc++-v3/testsuite/23_containers/deque/types/1.cc
libstdc++-v3/testsuite/23_containers/vector/types/1.cc
libstdc++-v3/testsuite/24_iterators/move_iterator/greedy_ops.cc [new file with mode: 0644]
libstdc++-v3/testsuite/24_iterators/normal_iterator/greedy_ops.cc [new file with mode: 0644]
libstdc++-v3/testsuite/24_iterators/reverse_iterator/greedy_ops.cc [new file with mode: 0644]
libstdc++-v3/testsuite/util/testsuite_greedy_ops.h [new file with mode: 0644]