This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of WP status.
Section: 126.96.36.199 [time.cal.ym.nonmembers] Status: WP Submitter: Tomasz Kamiński Opened: 2019-06-16 Last modified: 2019-11-19
View all issues with WP status.
The current specification of the addition of
months does not define a unique result value.
year(2018)/month(13)are valid results of
year(2018)/month(12) + months(1)addition, according to the spec in 188.8.131.52 [time.cal.ym.nonmembers].
[2019-06-24; LWG discussion]
During discussions on the LWG reflector there was a preference to add "is true" at the end of the modified Returns: element. This additional edit has been applied to Tomasz' original wording below.
[2019-07 Issue Prioritization]
Status to Tentatively Ready after five positive votes on the reflector.
This wording is relative to N4810.
Modify 184.108.40.206 [time.cal.ym.nonmembers] as indicated:
constexpr year_month operator+(const year_month& ym, const months& dm) noexcept;
-3- Returns: A year_month value z such that z - ym == dm .Complexity: 𝒪(1) with respect to the value of dm.