Return whether CLOCK matches the specified clockType.
Declared in <bslmt_chronoutil.h>
template<class CLOCK>
static
bool
isMatchingClock(bsls::SystemClockType::Enum clockType);
Return true if the specified (template parameter) type CLOCK matches the specified clockType, and false otherwise.
| Name | Description |
|---|---|
isMatchingClock<steady_clock> | Return whether steady_clock matches the specified clockType. |
isMatchingClock<system_clock> | Return whether system_clock matches the specified clockType. |
true if CLOCK matches clockType, and false otherwise
| Name | Description |
|---|---|
| clockType | system clock type to compare against CLOCK |