Boost logo

Boost :

From: Dominique Devienne (ddevienne_at_[hidden])
Date: 2019-09-12 14:56:20

On Thu, Sep 12, 2019 at 4:29 PM Bjorn Reese via Boost <boost_at_[hidden]>

> On 9/12/19 3:19 PM, Mike via Boost wrote:
> > b) to conditionally enable support for std::string_view in c++17
> > (implicit conversion to and explicit construction from string_view)
> For the string_view to bikeshedding_string conversion I would prefer a
> temmplated constructor that takes a container (a Range concept to be
> precise.) That way it works with any type that has begin() and end(),
> and we do not create a dependency on std::string_view. The container
> could be further constrained to those with value_type == char.

That's fine from std::string_view to fixed_capacity_string.
But the reverse would be awkward, and not an implicit conversion to
std::string_view, no? --DD

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