operator""_ms overloads
Synopses
Declared in <bslstl_chrono.h>
Same as the preceding overload, for a long double argument.
constexpr
bsl::chrono::duration<long double, std::milli>
operator""_ms(long double ms);
Create a bsl::chrono::duration object having the bsl::milli duration period and initialized with the specified ms number of milliseconds.
constexpr
std::chrono::milliseconds
operator""_ms(unsigned long long ms);
Return Value
duration representing ms milliseconds
Parameters
Name |
Description |
ms |
number of milliseconds |
Created with MrDocs