bc9053abce
2005-12-08 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_vector.h (vector<>::size, resize, capacity, operator[]): Avoid troubles with ADL, user defined operators and __normal_iterator. (_M_erase_at_end): Fix to take a pointer. (clear): Adjust call. * include/bits/vector.tcc (vector<>::insert(iterator, const value_type&), erase(iterator, iterator), operator=(const vector<>&), _M_assign_aux(input_iterator_tag), _M_insert_aux, _M_fill_insert, _M_range_insert): Likewise. (_M_fill_assign, _M_assign_aux(forward_iterator_tag)): Adjust _M_erase_at_end call. * testsuite/23_containers/vector/types/1.cc: New. 2005-12-08 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. From-SVN: r108227 |
||
---|---|---|
boehm-gc | ||
config | ||
contrib | ||
fastjar | ||
fixincludes | ||
gcc | ||
gnattools | ||
include | ||
INSTALL | ||
intl | ||
libada | ||
libcpp | ||
libdecnumber | ||
libffi | ||
libgfortran | ||
libiberty | ||
libjava | ||
libmudflap | ||
libobjc | ||
libssp | ||
libstdc++-v3 | ||
maintainer-scripts | ||
zlib | ||
ABOUT-NLS | ||
ChangeLog | ||
ChangeLog.tree-ssa | ||
compile | ||
config-ml.in | ||
config.guess | ||
config.rpath | ||
config.sub | ||
configure | ||
configure.in | ||
COPYING | ||
COPYING.LIB | ||
depcomp | ||
install-sh | ||
libtool.m4 | ||
ltcf-c.sh | ||
ltcf-cxx.sh | ||
ltcf-gcj.sh | ||
ltconfig | ||
ltmain.sh | ||
MAINTAINERS | ||
Makefile.def | ||
Makefile.in | ||
Makefile.tpl | ||
missing | ||
mkdep | ||
mkinstalldirs | ||
move-if-change | ||
README | ||
README.SCO | ||
symlink-tree | ||
ylwrap |
This directory contains the GNU Compiler Collection (GCC). The GNU Compiler Collection is free software. See the file COPYING for copying permission. The manuals, and some of the runtime libraries, are under different terms; see the individual source files for details. The directory INSTALL contains copies of the installation information as HTML and plain text. The source of this information is gcc/doc/install.texi. The installation information includes details of what is included in the GCC sources and what files GCC installs. See the file gcc/doc/gcc.texi (together with other files that it includes) for usage and porting information. An online readable version of the manual is in the files gcc/doc/gcc.info*. See http://gcc.gnu.org/bugs.html for how to report bugs usefully.