BloombergLP::bslmt::ChronoUtil::isMatchingClock<system_clock>

Return whether system_clock matches the specified clockType.

Synopsis

Declared in <bslmt_chronoutil.h>

template<>
bool
isMatchingClock<system_clock>(bsls::SystemClockType::Enum clockType);

Description

Return true if the specified clockType is bsls::SystemClockType::e_REALTIME, and false otherwise.

Return Value

true if clockType is e_REALTIME, and false otherwise

Parameters

NameDescription
clockTypesystem clock type to compare against system_clock