Boost logo

Boost :

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


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

> On Sat, Sep 14, 2019 at 9:15 AM Roberto Hinz <robhz786_at_[hidden]> wrote:
> >> string_view f (string_view input1, string_view input2,
> >> fixed_capacity_string_base& temp);
> > ...
> > I would rather use span<char> or span<char, N> in this case.
>
> `span` doesn't have any useful member function algorithms for
> operating on strings like inserting a substring at a given location.
>

Maybe we could create a new class `string_slice` that references
a mutable array of chars


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