please add string::erase()'s

Yotam Medini yotamm@tmai.com
Tue Oct 7 10:27:00 GMT 1997


Hello egcs/libstdc++ library maintainers:

How about adding the following standard members 
to basic_string in bastring.h.

   (from http://www.dinkumware.com/htm_cpl/string2.html#basic_string::erase )

   basic_string::erase

   iterator erase(iterator first, iterator last);
   iterator erase(iterator it);
   basic_string& erase(size_type p0 = 0, size_type n = npos);

   ...

Thanks -- yotam




More information about the Gcc mailing list