This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r107825 - in /branches/libstdcxx_so_7-branch/li...
- From: paolo at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Thu, 01 Dec 2005 18:03:22 -0000
- Subject: r107825 - in /branches/libstdcxx_so_7-branch/li...
Author: paolo
Date: Thu Dec 1 18:03:20 2005
New Revision: 107825
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=107825
Log:
2005-12-01 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.tcc (basic_string<>::_M_replace):
Perform _M_check_length at the beginning and remove it from ...
(append(size_type, _CharT), _M_replace_dispatch, _M_replace_aux,
assign): ... here.
(assign): Now move inline.
(resize): Don't call _M_check_length redundantly, append does.
Modified:
branches/libstdcxx_so_7-branch/libstdc++-v3/ChangeLog.libstdcxx_so_7-branch
branches/libstdcxx_so_7-branch/libstdc++-v3/include/bits/basic_string.h
branches/libstdcxx_so_7-branch/libstdc++-v3/include/bits/basic_string.tcc