[#bsl-operator_S-06] = xref:bsl.adoc[bsl]::operator""_S :relfileprefix: ../ :mrdocs: `operator""_S` overloads == Synopses Declared in `<bslstl_string.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 object of the indicated return type. Use the `bslma::Default::globalAllocator()` to supply memory. (See the "Memory Allocation For a File‐Scope Strings" section in the component‐level documentation.) [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..._]# Same as the preceding overload. [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..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#