Showing content from https://en.cppreference.com/w/cpp/language/../numeric/../named_req/TrivialClock.html below:
C++ named requirements: TrivialClock (since C++11)
The TrivialClock requirements describe the requirements satisfied by several clocks in the chrono library.
[edit] Requirements
For a type TC:
- The type must meet Clock requirements.
- The types TC::rep, TC::duration, and TC::time_point satisfy the requirements of EqualityComparable, LessThanComparable, DefaultConstructible, CopyConstructible, CopyAssignable, Destructible(until C++17), Swappable, and NumericType.
- The function TC::now() does not throw exceptions.
- The type TC::time_point::clock meets the TrivialClock requirements, recursively.
[edit] Standard library
The following types in the standard library satisfy TrivialClock requirements:
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4