This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

please add string::erase()'s



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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]