[#bsl-operator_sv-04]
= xref:bsl.adoc[bsl]::operator&quot;&quot;&lowbar;sv
:relfileprefix: ../
:mrdocs:

`operator&quot;&quot;&lowbar;sv` overloads

== Synopses

Declared in `&lt;bslstl&lowbar;stringview&period;h&gt;`

Convert a character sequence of the specified `length` excluding the terminating null character starting at the beginning of the specified `characterString` to a string&lowbar;view object of the indicated return type&period; (See the &quot;User&hyphen;Defined Literals&quot; section in the component&hyphen;level documentation&period;)


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::string&lowbar;view
xref:bsl/operator_sv-0c.adoc[operator&quot;&quot;&lowbar;sv](
    char const* characterString,
    std::size&lowbar;t length);
----

[.small]#xref:bsl/operator_sv-0c.adoc[_» more&period;&period;&period;_]#

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&lowbar;view` object&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::wstring&lowbar;view
xref:bsl/operator_sv-0f.adoc[operator&quot;&quot;&lowbar;sv](
    wchar&lowbar;t const* characterString,
    std::size&lowbar;t length);
----

[.small]#xref:bsl/operator_sv-0f.adoc[_» more&period;&period;&period;_]#


[.small]#Created with https://www.mrdocs.com[MrDocs]#
