This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: basic_string<>::_M_mutate
- To: Ryszard Kabatek <kabatek@chemie.uni-halle.de>
- Subject: Re: basic_string<>::_M_mutate
- From: Benjamin Kosnik <bkoz@cygnus.com>
- Date: Fri, 9 Jul 1999 10:12:38 -0700 (PDT)
- cc: libstdc++@sourceware.cygnus.com
> I think it is not a good idea. There are only three functions, that
> return an iterator:
> iterator insert(iterator __p, _CharT __c = _CharT());
> iterator erase(iterator __position);
> iterator erase(iterator __first, iterator __last);
This is specifically for these member functions. If you have a better
solution, one that can pass 21_strings/invariants.cc, post a patch and
I'll take a look at it.
-Benjamin