gcc/libstdc++-v3 ChangeLog include/bits/sstrea ...

paolo@gcc.gnu.org paolo@gcc.gnu.org
Fri May 2 00:14:00 GMT 2003


CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	paolo@gcc.gnu.org	2003-05-02 00:14:49

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

Log message:
	2003-05-01  Paolo Carlini  <pcarlini@unitus.it>
	
	* include/bits/sstream.tcc (overflow): Instead of calling
	str(), then _M_string.reserve, thus copying the contents
	of the current buffer two times, just copy the latter in
	a temporary, then use the 'swap trick'.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/ChangeLog.diff?cvsroot=gcc&r1=1.1690&r2=1.1691
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libstdc++-v3/include/bits/sstream.tcc.diff?cvsroot=gcc&r1=1.27&r2=1.28



More information about the Libstdc++-cvs mailing list