2 Dec
2019
2 Dec
'19
7:14 p.m.
On Mon, Dec 2, 2019 at 1:57 PM Peter Dimov via Boost
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