Closed wg21bot closed 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).
CWG2647
CWG 2022-11-08: Accepted with Modifications. See CWG2647 for details.
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).