Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2019-12-02 18:57:25

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.

Boost list run by bdawes at, gregod at, cpdaniel at, john at