BloombergLP::bsls::operator""_ms

Convert the specified milliseconds literal to a TimeInterval.

Synopsis

Declared in <bsls_timeinterval.h>

constexpr
bsls::TimeInterval
operator""_ms(unsigned long long milliseconds);

Description

This user defined literal operator converts the specified milliseconds value to the respective TimeInterval value. (See the "User-Defined Literals" section in the component-level documentation.)

Return Value

a TimeInterval representing the specified number of milliseconds

Parameters

NameDescription
millisecondsmilliseconds literal