Boost logo

Boost :

From: Zach Laine (whatwasthataddress_at_[hidden])
Date: 2019-11-27 18:06:17


On Wed, Nov 27, 2019 at 11:23 AM Vinnie Falco via Boost <
boost_at_[hidden]> wrote:

> On Wed, Nov 27, 2019 at 8:36 AM Phil Endecott via Boost
> > ...it's still going to be an improvement over using std::string's
> > operator+.
>
> Okay, I agree that we need to do _something_. I'm not sure exactly
> what that something is. I'm hesitant to endorse operator+ because of
> the unpredictable behavior. How about a free function `concat(...)`
> which allows the caller to optionally specify the maximum capacity of
> the resulting string,
>

I was thinking the same thing.

Zach


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk