monotonic_clock::is_monotonic must be trueSection: 99 [time.clock.monotonic] Status: C++11 Submitter: Howard Hinnant Opened: 2009-03-09 Last modified: 2016-01-28
Priority: Not Prioritized
View all other issues in [time.clock.monotonic].
View all issues with C++11 status.
Discussion:
There is some confusion over what the value of monotonic_clock::is_monotonic
when monotonic_clock is a synonym for system_clock. The
intent is that if monotonic_clock exists, then monotonic_clock::is_monotonic
is true.
[ Batavia (2009-05): ]
We agree with the proposed resolution.
Move to Tentatively Ready.
Proposed resolution:
Change 99 [time.clock.monotonic], p1:
-1- Objects of class
monotonic_clockrepresent clocks for which values oftime_pointnever decrease as physical time advances.monotonic_clockmay be a synonym forsystem_clockif and only ifsystem_clock::is_monotonicistrue.