This is the mail archive of the
libstdc++-cvs@gcc.gnu.org
mailing list for the libstdc++ project.
r158190 - in /branches/gcc-4_4-branch/libstdc++...
- From: redi at gcc dot gnu dot org
- To: libstdc++-cvs at gcc dot gnu dot org
- Date: Sat, 10 Apr 2010 13:46:25 -0000
- Subject: r158190 - in /branches/gcc-4_4-branch/libstdc++...
Author: redi
Date: Sat Apr 10 13:46:25 2010
New Revision: 158190
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=158190
Log:
2010-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
Backport:
2009-06-23 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/40518
* include/bits/basic_string.h (basic_string<>::_Rep::
_M_set_length_and_sharable): Do not write the empty rep.
(basic_string<>::erase(iterator, iterator)): Likewise,
move out of line...
* include/bits/basic_string.tcc: ... here.
Modified:
branches/gcc-4_4-branch/libstdc++-v3/ChangeLog
branches/gcc-4_4-branch/libstdc++-v3/include/bits/basic_string.h
branches/gcc-4_4-branch/libstdc++-v3/include/bits/basic_string.tcc