This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r129714 - in /trunk/libstdc++-v3: ChangeLog inc...
- From: paolo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 29 Oct 2007 01:59:50 -0000
- Subject: r129714 - in /trunk/libstdc++-v3: ChangeLog inc...
Author: paolo
Date: Mon Oct 29 01:59:49 2007
New Revision: 129714
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129714
Log:
2007-10-28 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_algobase.h (_GLIBCXX_MOVE3,
_GLIBCXX_MOVE_BACKWARD3): Add.
* include/bits/stl_iterator.h (_GLIBCXX_MAKE_MOVE_ITERATOR): Add.
* include/bits/vector.tcc (vector<>::reserve): Use the latter.
(vector<>::erase): Use _GLIBCXX_MOVE3.
* include/bits/deque.tcc (deque<>::erase): Use _GLIBCXX_MOVE3
and _GLIBCXX_MOVE_BACKWARD3.
* testsuite/23_containers/vector/modifiers/erase/moveable.cc: New.
* testsuite/23_containers/vector/capacity/reserve/moveable.cc: New.
* testsuite/23_containers/deque/modifiers/erase/moveable.cc: New.
Added:
trunk/libstdc++-v3/testsuite/23_containers/deque/modifiers/erase/moveable.cc
trunk/libstdc++-v3/testsuite/23_containers/vector/capacity/reserve/
trunk/libstdc++-v3/testsuite/23_containers/vector/capacity/reserve/moveable.cc
trunk/libstdc++-v3/testsuite/23_containers/vector/modifiers/erase/moveable.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/deque.tcc
trunk/libstdc++-v3/include/bits/stl_algobase.h
trunk/libstdc++-v3/include/bits/stl_iterator.h
trunk/libstdc++-v3/include/bits/vector.tcc