* std/bastring.h (basic_string<>::clear): Add function.

From-SVN: r35035
This commit is contained in:
Jean-Francois Panisset 2000-07-14 16:27:45 +00:00 committed by Gerald Pfeifer
parent 12a345cd3f
commit 30f747d077
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2000-07-14 Jean-Francois Panisset <panisset@discreet.com>
* std/bastring.h (basic_string<>::clear): Add function.
2000-07-06 Zack Weinberg <zack@wolery.cumb.org>
* std/gslice_array.h, std/indirect_array.h, std/mask_array.h,

View File

@ -346,6 +346,8 @@ public:
{ resize (n, eos ()); }
void reserve (size_type) { }
void clear() { erase(begin(), end()); }
size_type copy (charT* s, size_type n, size_type pos = 0) const;
size_type find (const basic_string& str, size_type pos = 0) const