The library provides implicit conversions from
const charT* and
std::basic_string<charT, ...> to
std::basic_string_view<charT, ...> so that user code can accept just
std::basic_string_view<charT> as a non-templated parameter wherever a sequence of characters is expected
. User-defined types can define their own implicit conversions to
std::basic_string_view in order to interoperate with these functions
.