This page is a snapshot from the LWG issues list, see theLibrary Active Issues List for more information and the meaning ofC++11 status.
monotonic_clock::is_monotonic must betrueSection: 99 [time.clock.monotonic]Status:C++11Submitter: Howard HinnantOpened: 2009-03-09Last modified: 2016-01-28
Priority:Not Prioritized
View all otherissues in [time.clock.monotonic].
View all issues withC++11 status.
Discussion:
There is some confusion over what the value ofmonotonic_clock::is_monotonicwhenmonotonic_clock is a synonym forsystem_clock. Theintent is that ifmonotonic_clock exists, thenmonotonic_clock::is_monotonicistrue.
[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 whichvalues oftime_pointnever decrease as physical time advances.monotonic_clockmay be a synonym forsystem_clockif and only ifsystem_clock::is_monotonicistrue.