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.year.members] Status: WP Submitter: Tomasz Kamiński Opened: 2019-05-28 Last modified: 2019-07-27
View all issues with WP status.
The expression in the Returns element of
year::ok in [time.cal.year.members] p18:
min() <= y_ && y_ <= max()
is ill-formed, as it attempts to compare type
short (type of
member) with type
year (type of
[2019-06-13; Priority to 0 and Status to Tentatively Ready after seven positive votes on the reflector.]
This wording is relative to N4810.
Modify 188.8.131.52 [time.cal.year.members] as indicated:
constexpr bool ok() const noexcept;
-18- Returns: min() <= y_ && y_ <= max().