Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

C++ named requirements: TrivialClock (since C++11)

The TrivialClock requirements describe the requirements satisfied by several clocks in the chrono library.

NotebookLM

The TrivialClock requirements describe the requirements satisfied by several clocks in the chrono library.

Requirements

For a type TC:

Standard library

The following types in the standard library satisfy TrivialClock requirements:

wall clock time from the system-wide realtime clock
(class)
monotonic clock that will never be adjusted
(class)
the clock with the shortest tick period available
(class)
Clock used for file time
(typedef)
represents file time values
(typedef)

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.