BloombergLP::bslmt::ChronoUtil

This struct provides a namespace for utility functions that operate on bsl::chrono facilities.

Synopsis

Declared in <bslmt_chronoutil.h>

struct ChronoUtil;

Member Functions

Name
isMatchingClock

Static Member Functions

NameDescription
durationToTimeInterval Return a bsls::TimeInterval having the value represented by the specified duration. Unlike the implicit conversion defined from duration defined in bsls::TimeInterval, this conversion handles floating-point-based durations as well as integral ones.
isMatchingClock Return true if the specified (template parameter) type CLOCK matches the specified clockType, and false otherwise.
timedWait timedWait overloads