C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Should std::to_string be deprecated?

From: Frederick Virchanza Gotham <cauldwell.thomas_at_[hidden]>
Date: Thu, 5 Oct 2023 00:06:00 +0100
On Wed, Oct 4, 2023 at 10:49 PM Frederick Virchanza Gotham
<cauldwell.thomas_at_[hidden]> wrote:
>
> > On Wed, Oct 4, 2023 at 9:29 PM Breno GuimarĂ£es <brenorg_at_[hidden]> wrote:
> > >
> > > Ah yes, because one std::stringstream isn't enough.
>
>
> An easy_string would have operator+ as well as operator+=. The former
> doesn't alter the object. stringstream isn't as versatile as an
> easy_string in this regard.


Back in the Spring I shared my idea of an 'interface'. See paper:
http://www.virjacode.com/download/interface_latest_draft.pdf

So 'easy_string' could be an interface for 'string'.

Received on 2023-10-04 23:06:13