[Bug libstdc++/14245] [3.4 only] problem with user-defined allocators in std::basic_string

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Jun 7 22:24:00 GMT 2004


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-06-07 22:24 -------
Subject: Bug 14245

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	hammer-3_3-branch
Changes by:	paolo@gcc.gnu.org	2004-06-07 22:24:40

Modified files:
	libstdc++-v3   : ChangeLog.hammer 
	libstdc++-v3/include/bits: basic_string.tcc 

Log message:
	2004-06-08  Chavdar Botev  <cbotev@yahoo.com>
	
	PR libstdc++/14245
	* include/bits/basic_string.tcc
	(basic_string::basic_string(const basic_string&)): Pass to
	_Rep::_M_grab the actual allocator of the string being constructed
	not the default constructed one.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.hammer.diff?cvsroot=gcc&only_with_tag=hammer-3_3-branch&r1=1.1.2.16&r2=1.1.2.17
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/basic_string.tcc.diff?cvsroot=gcc&only_with_tag=hammer-3_3-branch&r1=1.28.2.7&r2=1.28.2.8



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14245



More information about the Gcc-bugs mailing list