d2cc7f9266
2005-12-17 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_vector.h (vector(const vector&)): Use _M_get_Tp_allocator. * include/bits/stl_deque.h (deque(const deque&)): Likewise. (_M_destroy_data): Adjust. 2005-12-17 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_deque.h (deque<>::_M_erase_at_end, _M_erase_at_begin, _M_destroy_data, _M_destroy_data_dispatch, _M_destroy_data_aux): New, optimize erase at begin() / end() and consistently use the "segmented iterator" optimization. (deque<>::~deque(), resize, clear, _M_assign_aux, _M_fill_assign): Use the above. * include/bits/deque.tcc (deque<>::operator=, _M_assign_aux): Same. (erase(iterator, iterator)): Likewise, clean-up. (erase(iterator)): Tweak, don't call copy unnecessarily. (_M_destroy_data_aux): Define. * testsuite/23_containers/deque/modifiers/erase/1.cc: New. * testsuite/23_containers/deque/modifiers/erase/2.cc: Likewise. From-SVN: r108727 |
||
---|---|---|
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.