isMatchingClock overloads
Synopses
Declared in <bslmt_chronoutil.h>
Return whether steady_clock matches the specified clockType.
template<>
bool
isMatchingClock<steady_clock>(bsls::SystemClockType::Enum clockType);
Return whether system_clock matches the specified clockType.
template<>
bool
isMatchingClock<system_clock>(bsls::SystemClockType::Enum clockType);
Return Value
-
trueifclockTypeise_MONOTONIC, andfalseotherwise -
trueifclockTypeise_REALTIME, andfalseotherwise
Parameters
Name |
Description |
clockType |
system clock type to compare against |
Created with MrDocs