/[Apache-SVN]
ViewVC logotype

Revision 579001


Jump to revision: Previous Next
Author: sebor
Date: Mon Sep 24 22:34:51 2007 UTC (2 years, 2 months ago)
Changed paths: 2
Log Message:
2007-09-24 Travis Vitek <vitek@roguewave.com>

	STDCXX-492
	* string (operator+=): Replace call to append with push_back
	for performance.
	(append): Avoid calling replace() from append if there is
	sufficient buffer space available for performance.
	(append): Simplify append overload, move it to header and then
	inline it.
	(append): Use _RWSTD_SIZE_T to avoid integer overflow problems
	that could lead to heap corruption.
	(push_back): Call replace() instead of append when buffer
	reallocation required. cleanup. avoid integer overflow problem.
	* string.cc (append): Moved append overload to header and make
	it inline. 

Changed paths:

Path Details
Directoryincubator/stdcxx/trunk/include/string modified , text changed
Directoryincubator/stdcxx/trunk/include/string.cc modified , text changed

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2