This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


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

Re: basic_string<>::_M_mutate



> 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 

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