operator""_s overloads
Declared in <bslstl_chrono.h>
Same as the preceding overload, for a long double argument.
constexpr
bsl::chrono::duration<long double>
operator""_s(long double secs);
» more...
Create a bsl::chrono::duration object having the bsl::ratio<1> duration period and initialized with the specified secs number of seconds.
constexpr
std::chrono::seconds
operator""_s(unsigned long long secs);
» more...
Create a string from a user-defined string literal.
string
operator""_s(
char const* characterString,
std::size_t length);
» more...
Create a wstring from a user-defined string literal.
wstring
operator""_s(
wchar_t const* characterString,
std::size_t length);
» more...
secs seconds| Name | Description |
|---|---|
| secs | number of seconds |
| characterString | pointer to the character sequence |
| length | number of characters excluding the null terminator |