Created on 2015-11-07.00:00:00 last changed 90 months ago
Proposed resolution:
This wording is relative to N4567.
Change [assertions] p2 as indicated:
An expression assert(E) is a constant subexpression ([defns.const.subexpr]), if
NDEBUG is defined at the point where
assert(E) appearsassert is last defined or redefined, or[…]
[ 2016-02, Issues Telecon ]
P0; move to Tentatively Ready.
The resolution of LWG 2234 says that assert(E) is a constant subexpression if "NDEBUG is defined at the point where assert(E) appears".
This is incorrect, as noted in one of STL's comments in that issue's discussion, but was apparently overlooked. The proposed resolution below just borrows STL's phrasing from the discussion.History | |||
---|---|---|---|
Date | User | Action | Args |
2017-07-30 20:15:43 | admin | set | status: wp -> c++17 |
2016-03-07 04:11:48 | admin | set | status: ready -> wp |
2016-02-07 20:24:45 | admin | set | messages: + msg7958 |
2016-02-07 20:24:45 | admin | set | status: new -> ready |
2015-12-09 20:52:28 | admin | set | messages: + msg7634 |
2015-11-07 00:00:00 | admin | create |