This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
gcc/libstdc++-v3 ChangeLog.libstdcxx_so_7-bran ...
- From: paolo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org, libstdc++-cvs at gcc dot gnu dot org
- Date: 18 Oct 2005 15:37:33 -0000
- Subject: gcc/libstdc++-v3 ChangeLog.libstdcxx_so_7-bran ...
CVSROOT: /cvs/gcc
Module name: gcc
Branch: libstdcxx_so_7-branch
Changes by: paolo@gcc.gnu.org 2005-10-18 15:37:33
Modified files:
libstdc++-v3 : ChangeLog.libstdcxx_so_7-branch
libstdc++-v3/testsuite: testsuite_rvalref.h
libstdc++-v3/include/bits: deque.tcc moveable.h stl_construct.h
stl_deque.h stl_uninitialized.h
stl_vector.h vector.tcc
libstdc++-v3/testsuite/23_containers/vector/modifiers:
moveable.cc
Added files:
libstdc++-v3/testsuite/23_containers/deque/cons: moveable.cc
libstdc++-v3/testsuite/23_containers/deque/modifiers: 1.cc
moveable.cc
moveable2.cc
libstdc++-v3/testsuite/23_containers/deque/resize: moveable.cc
libstdc++-v3/testsuite/23_containers/vector/cons: moveable.cc
libstdc++-v3/testsuite/23_containers/vector/modifiers: 3.cc
moveable2.cc
libstdc++-v3/testsuite/23_containers/vector/resize: moveable.cc
Log message:
2005-10-17 Chris Jefferson <chris@bubblescope.net>
* include/bits/deque.tcc (deque::erase(iterator)): Make rvalref aware.
(deque::erase(iterator, iterator)): Likewise.
(deque::_M_push_back_aux): Template to allow both normal and rvalue
references, make rvalref aware.
(deque::_M_push_front_aux): Likewise.
(deque::_M_insert_aux(iterator, value_type)): Make rvalref aware.
(deque::_M_insert_aux(iterator, size_type, value_type)): Make rvalref
aware, add std quantification to fill.
(deque::_M_insert_aux(iterator, iterator, iterator, size_type)): Make
rvalref aware.
(deque::_M_reallocate_map(size_type, bool)): Likewise.
* include/bits/moveable.h (__move_iterator): Implemented from N1771.
(__make_move_iterator): Likewise.
* include/bits/stl_construct.h (_Construct_a): New.
(_Construct_move_a) : Remove unused function.
* include/bits/stl_deque.h (deque::push_front(__rvalref),
deque::push_back(__rvalref)): New.
(_M_push_front_aux, _M_push_back_aux): Make templated.
* include/bits/stl_uninitialized.h (__uninitialized_copy_move,
__uninitialized_move_copy, __uninitialized_fill_move,
__uninitialized_move_fill): New.
* include/bits/stl_vector.h (vector::push_back(__rvalref)): New.
(vector::_M_insert_aux): Make templated.
* include/bits/vector.tcc (vector::erase(iterator),
vector::erase(iterator, iterator)): New.
(vector::_M_insert_aux(iterator, value_type): Template to allow both
normal and rvalue references, make rvalref aware.
(vector::_M_fill_insert(iterator, size_type, value_type)): Make
rvalref aware.
* testsuite/23_containers/deque/cons/moveable.cc: New.
* testsuite/23_containers/deque/modifiers/1.cc: New.
* testsuite/23_containers/deque/modifiers/moveable.cc: New.
* testsuite/23_containers/deque/modifiers/moveable2.cc: New.
* testsuite/23_containers/deque/resize/moveable.cc: New.
* testsuite/23_containers/vector/cons/moveable.cc: New.
* testsuite/23_containers/vector/modifiers/3.cc: New.
* testsuite/23_containers/vector/modifiers/moveable.cc: Tweak.
* testsuite/23_containers/vector/modifiers/moveable2.cc: New.
* testsuite/23_containers/vector/resize/moveable.cc: New.
* testsuite/testsuite_rvalref.h (copycounter::copycounter()):
Allow copying default-constructed values.
(copycounter::~copycounter()): Add destructor.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.libstdcxx_so_7-branch.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.1.2.74&r2=1.1.2.75
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/testsuite_rvalref.h.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.1.2.5&r2=1.1.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/deque.tcc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.16.2.5&r2=1.16.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/moveable.h.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.1.2.3&r2=1.1.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/stl_construct.h.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.17.6.4&r2=1.17.6.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/stl_deque.h.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.49.2.11&r2=1.49.2.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/stl_uninitialized.h.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.19.6.4&r2=1.19.6.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/stl_vector.h.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.47.2.11&r2=1.47.2.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/vector.tcc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.16.2.7&r2=1.16.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/23_containers/deque/cons/moveable.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/23_containers/deque/modifiers/1.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/23_containers/deque/modifiers/moveable.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/23_containers/deque/modifiers/moveable2.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/23_containers/deque/resize/moveable.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/23_containers/vector/cons/moveable.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/23_containers/vector/modifiers/3.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/23_containers/vector/modifiers/moveable2.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/23_containers/vector/modifiers/moveable.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=1.1.2.1&r2=1.1.2.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/testsuite/23_containers/vector/resize/moveable.cc.diff?cvsroot=gcc&only_with_tag=libstdcxx_so_7-branch&r1=NONE&r2=1.1.2.1