C++ concepts: TrivialClock
TrivialClock concept describes the requirements satisfied by all the clocks in the chrono library.
For a type TC:
- The type must meet
- The types TC::rep, TC::duration, and TC::time_point satisfy the requirements of
- lvalues of the types TC::rep, TC::duration, and TC::time_point are
- The function TC::now() does not throw exceptions.
- The type TC::time_point::clock meets the
The following types satisfy this concept in the standard library: