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

`operator&quot;&quot;&lowbar;s` overloads

== Synopses

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

Same as the preceding overload, for a `long double` argument&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
bsl::chrono::duration&lt;long double&gt;
xref:bsl/operator_s-00.adoc[operator&quot;&quot;&lowbar;s](long double secs);
----

[.small]#xref:bsl/operator_s-00.adoc[_» more&period;&period;&period;_]#

Create a `bsl&colon;&colon;chrono&colon;&colon;duration` object having the `bsl&colon;&colon;ratio&lt;1&gt;` duration period and initialized with the specified `secs` number of seconds&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
std::chrono::seconds
xref:bsl/operator_s-0e82.adoc[operator&quot;&quot;&lowbar;s](unsigned long long secs);
----

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

Create a string from a user&hyphen;defined string literal&period;


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

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

Create a `wstring` from a user&hyphen;defined string literal&period;


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

[.small]#xref:bsl/operator_s-05.adoc[_» more&period;&period;&period;_]#

== Return Value

* duration representing `secs` seconds
* string constructed from the character literal

== Parameters

[cols="1,4"]
|===
| Name| Description
| *secs*
| number of seconds
| *characterString*
| pointer to the character sequence
| *length*
| number of characters excluding the null terminator
|===


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