This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r106407 - in /branches/libstdcxx_so_7-branch/li...
- From: paolo at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Wed, 02 Nov 2005 23:29:14 -0000
- Subject: r106407 - in /branches/libstdcxx_so_7-branch/li...
Author: paolo
Date: Wed Nov 2 23:29:12 2005
New Revision: 106407
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106407
Log:
2005-11-02 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/24617
* include/bits/stl_vector.h (vector<>::_M_erase_at_end): New.
(vector<>::clear, resize): Use it.
* include/bits/vector.tcc (vector<>::erase(iterator, iterator),
_M_fill_assign, _M_assign_aux): Likewise.
* testsuite/23_containers/vector/modifiers/erase/1.cc: New.
Added:
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/vector/modifiers/erase/
branches/libstdcxx_so_7-branch/libstdc++-v3/testsuite/23_containers/vector/modifiers/erase/1.cc
Modified:
branches/libstdcxx_so_7-branch/libstdc++-v3/ChangeLog.libstdcxx_so_7-branch
branches/libstdcxx_so_7-branch/libstdc++-v3/include/bits/stl_vector.h
branches/libstdcxx_so_7-branch/libstdc++-v3/include/bits/vector.tcc