[#bsl-operator_s-05]
= xref:bsl.adoc[bsl]::operator&quot;&quot;&lowbar;s
:relfileprefix: ../
:mrdocs:

User&hyphen;defined literal creating a `wstring` from the specified `characterString` of the specified `length`&period;

== Synopsis

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

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


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