[#bsl-operator_s-0e87] = xref:bsl.adoc[bsl]::operator""_s :relfileprefix: ../ :mrdocs: `operator""_s` overloads == Synopses Declared in `<bslstl_chrono.h>` Same as the preceding overload, for a `long double` argument. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr bsl::chrono::duration<long double> xref:bsl/operator_s-00.adoc[operator""_s](long double secs); ---- [.small]#xref:bsl/operator_s-00.adoc[_» more..._]# Create a `bsl::chrono::duration` object having the `bsl::ratio<1>` duration period and initialized with the specified `secs` number of seconds. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr std::chrono::seconds xref:bsl/operator_s-0e82.adoc[operator""_s](unsigned long long secs); ---- [.small]#xref:bsl/operator_s-0e82.adoc[_» more..._]# 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::defaultAllocator()` to supply memory. (See the "User‐Defined Literals" section in the component‐level documentation.) [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/string.adoc[string] xref:bsl/operator_s-0f.adoc[operator""_s]( char const* characterString, std::size_t length); ---- [.small]#xref:bsl/operator_s-0f.adoc[_» more..._]# User‐defined literal creating a `wstring` from the specified `characterString` of the specified `length`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/wstring.adoc[wstring] xref:bsl/operator_s-05.adoc[operator""_s]( wchar_t const* characterString, std::size_t length); ---- [.small]#xref:bsl/operator_s-05.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#