mirror of
https://review.haiku-os.org/buildtools
synced 2026-02-04 07:53:14 +01:00
- 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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user