cplusplus / nbballot

Handling of NB comments in response to ballots
14 stars 4 forks source link

US 17-047 7.7p16.7 [expr.const] "needed for constant evalution" #489

Closed wg21bot closed 1 year ago

wg21bot commented 1 year ago

The criteria for a variable to be needed for constant evaluation are inconsistent with those for it to be usable in constant expressions (/4).

Proposed change:

Use "potentially-constant" in /15.7 (retaining the non-volatile restriction).

jensmaurer commented 1 year ago

CWG2647

jensmaurer commented 1 year ago

CWG 2022-11-08: Accepted with Modifications. See CWG2647 for details.