[#bsl-operator_S-06] = xref:bsl.adoc[bsl]::operator""_S :relfileprefix: ../ :mrdocs: `operator""_S` overloads == Synopses Declared in `<bslstl_string.h>` Create a file‐scope string from a user‐defined literal. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/string.adoc[string] xref:bsl/operator_S-033.adoc[operator""_S]( char const* characterString, std::size_t length); ---- [.small]#xref:bsl/operator_S-033.adoc[_» more..._]# Create a file‐scope `wstring` from a user‐defined literal. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/wstring.adoc[wstring] xref:bsl/operator_S-039.adoc[operator""_S]( wchar_t const* characterString, std::size_t length); ---- [.small]#xref:bsl/operator_S-039.adoc[_» more..._]# == Return Value string constructed from the character literal == Parameters [cols="1,4"] |=== | Name| Description | *characterString* | pointer to the character sequence | *length* | number of characters excluding the null terminator |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#