operator""_sv overloads
Declared in <bslstl_stringview.h>
Convert a character sequence of the specified length excluding the terminating null character starting at the beginning of the specified characterString to a string_view object of the indicated return type. (See the "User-Defined Literals" section in the component-level documentation.)
std::string_view
operator""_sv(
char const* characterString,
std::size_t length);
» more...
Convert a wide character sequence of the specified length excluding the terminating null character starting at the beginning of the specified characterString to a wstring_view object.
std::wstring_view
operator""_sv(
wchar_t const* characterString,
std::size_t length);
» more...