| 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.
|