[#bsl-operator_sv-04] = xref:bsl.adoc[bsl]::operator""_sv :relfileprefix: ../ :mrdocs: `operator""_sv` overloads == Synopses Declared in `<bslstl_stringview.h>` User‐defined literal creating a `string_view` from a character sequence. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::string_view xref:bsl/operator_sv-0c.adoc[operator""_sv]( char const* characterString, std::size_t length); ---- [.small]#xref:bsl/operator_sv-0c.adoc[_» more..._]# User‐defined literal creating a `wstring_view` from a wide character sequence. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::wstring_view xref:bsl/operator_sv-0f.adoc[operator""_sv]( wchar_t const* characterString, std::size_t length); ---- [.small]#xref:bsl/operator_sv-0f.adoc[_» more..._]# == Return Value * `string_view` referring to the character sequence * `wstring_view` referring to the wide character sequence == Parameters [cols="1,4"] |=== | Name| Description | *characterString* | character sequence to convert | *length* | number of characters excluding the terminating null |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#