* Added missing clear() method.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37924 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -289,6 +289,8 @@ public:
|
|||||||
replace (__o, l-f, (size_type)0, (charT)0);selfish ();
|
replace (__o, l-f, (size_type)0, (charT)0);selfish ();
|
||||||
return ibegin() + __o; }
|
return ibegin() + __o; }
|
||||||
|
|
||||||
|
void clear()
|
||||||
|
{ erase(begin(), end()); }
|
||||||
basic_string& replace (size_type pos1, size_type n1, const basic_string& str,
|
basic_string& replace (size_type pos1, size_type n1, const basic_string& str,
|
||||||
size_type pos2 = 0, size_type n2 = npos);
|
size_type pos2 = 0, size_type n2 = npos);
|
||||||
basic_string& replace (size_type pos, size_type n1, const charT* s,
|
basic_string& replace (size_type pos, size_type n1, const charT* s,
|
||||||
|
|||||||
Reference in New Issue
Block a user