14 Sep
2019
14 Sep
'19
8:18 p.m.
On Sat, Sep 14, 2019 at 4:46 PM Vinnie Falco
On Sat, Sep 14, 2019 at 11:46 AM Roberto Hinz
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