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

Synopsis

Declared in <bslmt_chronoutil.h>

struct ChronoUtil;

Member Functions

Static Member Functions

Name

Description

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

Created with MrDocs