- added clear()-method that was missing from basic_string.

git-svn-id: file:///srv/svn/repos/haiku/trunk/buildtools@10129 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe 2004-11-21 19:03:36 +00:00
parent f99d3bcdd9
commit 336d81404a

View File

@ -287,6 +287,8 @@ public:
replace (__o, l-f, (size_type)0, (charT)0);selfish ();
return ibegin() + __o; }
void clear()
{ erase(begin(), end()); }
basic_string& replace (size_type pos1, size_type n1, const basic_string& str,
size_type pos2 = 0, size_type n2 = npos);
basic_string& replace (size_type pos, size_type n1, const charT* s,