OSDN Git Service

2004-10-26 Paolo Carlini <pcarlini@suse.de>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Oct 2004 21:16:58 +0000 (21:16 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Oct 2004 21:16:58 +0000 (21:16 +0000)
commitcf718c6de67bb267d5638bbece15ec9dbc9b3a6a
tree5d4368cbfae4ab27a7e7c8c1df2a6d1e758875a8
parentd878092fddb38d5f7d52388662245297c1185e5b
2004-10-26  Paolo Carlini  <pcarlini@suse.de>

* include/bits/basic_string.h (erase(size_type, size_type),
erase(iterator), erase(iterator, iterator)): Call _M_mutate
instead of _M_replace_safe, equivalent when the fourth argument
is zero and simpler.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89608 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/basic_string.h