Commit 30f747d0 by Jean-Francois Panisset Committed by Gerald Pfeifer

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

From-SVN: r35035
parent 12a345cd
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,
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment