[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
Wed Apr 21 10:58:00 GMT 2004


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-04-21 10:11 -------
Subject: Bug 14245

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_4-branch
Changes by:	paolo@gcc.gnu.org	2004-04-21 10:11:10

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

Log message:
	2004-04-21  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.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.2224.2.78&r2=1.2224.2.79
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/basic_string.tcc.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.46.4.4&r2=1.46.4.5



-- 


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



More information about the Gcc-bugs mailing list