mirror of
https://review.haiku-os.org/buildtools
synced 2025-02-21 21:27:44 +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:
parent
f99d3bcdd9
commit
336d81404a
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user