Function string_view_base::operator std::string

Conversion

Synopsis

operator std::string() const noexcept;

Description

Conversion to std::string is explicit because assigning to string using an implicit constructor does not preserve capacity.