[PATCH] More implicit typename fixes

Paolo Carlini pcarlini@unitus.it
Fri Dec 21 23:14:00 GMT 2001


Nathan Myers wrote:

> > By the way, what's your opinion on my basic_string::insert work?
> > For sure, when inserting in the middle of a very long string the
> > performance improvement is hardly noticeable, but on the other hand
> > it seems to me difficult ;-) to do better and I would like to see a
> > consistent implementation across append-assign-insert-replace...
>
> I agree, I like your work.

Thanks. This is a very important encouragement for me.

> It's too bad that C++ is stuck with such a primitive string design.
> The Java people learned from our mistakes (this time -- in so many
> other cases they made mistakes we avoided!).  It may be that for the
> next C++ Standard we can come up with an improved interface.

Great!

> The idea is to have two classes, one designed for substring manipulation
> and another for transport.  Ability to share storage of substrings with
> one of the latter would be no bad thing, too.

I see. Thanks for such first-hand informations!

Cheers,
Paolo.




More information about the Libstdc++ mailing list