Convert the specified seconds literal to a TimeInterval.
Declared in <bsls_timeinterval.h>
constexpr
bsls::TimeInterval
operator""_s(unsigned long long seconds);
This user defined literal operator converts the specified seconds value to the respective TimeInterval value. The behavior is undefined unless the specified number of seconds can be converted to valid TimeInterval object. (See the "User-Defined Literals" section in the component-level documentation.)
a TimeInterval representing the specified number of seconds
| Name | Description |
|---|---|
| seconds | seconds literal |