* 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:
Axel Dörfler
2010-08-05 11:23:01 +00:00
parent cb51fb9e4d
commit 481f986b59
+2
View File
@@ -289,6 +289,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,