This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
please add string::erase()'s
- To: egcs at cygnus dot com
- Subject: please add string::erase()'s
- From: Yotam Medini <yotamm at tmai dot com>
- Date: Tue, 7 Oct 1997 10:22:11 -0700
- Reply-To: yotam_medini at tmai dot com
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