Boost logo

Boost :

From: Roberto Hinz (robhz786_at_[hidden])
Date: 2019-09-14 20:18:45


On Sat, Sep 14, 2019 at 4:46 PM Vinnie Falco <vinnie.falco_at_[hidden]> wrote:

> On Sat, Sep 14, 2019 at 11:46 AM Roberto Hinz <robhz786_at_[hidden]> wrote:
> > Maybe we could create a new class `string_slice` that references
> > a mutable array of chars
>
> Well, yes, that's exactly the point of the base class! The algorithms
> are expressed in terms of non-template member functions.
>
> Regards
>

But a base class could bring downsides to fixed_capacity_string,
like increasing its size. I would prefer is a class that is
convertible from fixed_capacity_string.

Regards


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