From: Krystian Stasiowski (sdkrystian_at_[hidden])
Date: 2019-12-02 19:14:30
On Mon, Dec 2, 2019 at 1:57 PM Peter Dimov via Boost <boost_at_[hidden]>
> Krystian Stasiowski wrote:
> > Perhaps we provide two separate functions like was mentioned previously,
> > where one returns a fixed_string and the other returns a string_view.
> I think that this is almost certainly the right thing to do, both for
> fixed_string and for std::string. Call the string_view returning function
> `s.subview()` or just `s.view()`, leave `s.substr()` to return by value.
I like the ring of subview
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk