Go to file
Paolo Carlini 0cb855b7a6 re PR libstdc++/25288 (std::list insert members should have no effects if an exception is thrown)
2005-12-09  Paolo Carlini  <pcarlini@suse.de>
	    Howard Hinnant  <hhinnant@apple.com>

	PR libstdc++/25288
	* include/bits/stl_list.h (list<>::_M_insert_dispatch, _M_fill_insert):
	Remove.
	(_M_initialize_dispatch, _M_fill_initialize): Add.
	(list(size_type, const value_type&, const allocator_type&),
	list(const list&), list(_InputIterator, _InputIterator,
	const allocator_type&): Use the latter.
	(insert(iterator, size_type, const value_type&), insert(iterator,
	_InputIterator, _InputIterator)): Use construction & splice.
	* testsuite/23_containers/list/modifiers/insert/25288.cc: New.
	* testsuite/testsuite_allocator.h (class throw_allocator): Add.

	* include/bits/stl_list.h (list<>::insert, erase): Fix wrong comments.

Co-Authored-By: Howard Hinnant <hhinnant@apple.com>

From-SVN: r108313
2005-12-09 18:24:53 +00:00
boehm-gc
config
contrib * newcvsroot: Remove. 2005-12-08 08:38:02 +11:00
fastjar
fixincludes
gcc Provide first full implementation. 2005-12-09 18:41:04 +01:00
gnattools
include
INSTALL
intl
libada
libcpp cpplib.h (CPP_N_DFLOAT): New. 2005-12-07 10:13:15 +11:00
libdecnumber
libffi ffitarget.h: Remove obsolete sgidefs.h include. 2005-12-07 14:56:38 +00:00
libgfortran re PR libfortran/24991 (gfortran build fails with - error:gthr-default.h: No such file or directory) 2005-12-09 14:50:11 +01:00
libiberty
libjava re PR libgcj/25265 (linking BC-compiled classes with incompatible changes) 2005-12-08 15:32:44 +00:00
libmudflap
libobjc
libssp
libstdc++-v3 re PR libstdc++/25288 (std::list insert members should have no effects if an exception is thrown) 2005-12-09 18:24:53 +00:00
maintainer-scripts
zlib
ABOUT-NLS
ChangeLog * MAINTAINERS: Change email address. 2005-12-07 03:46:23 +00:00
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 * MAINTAINERS: Change email address. 2005-12-07 03:46:23 +00:00
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.