This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 110b. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2023-01-15


2439. Undefined term in definition of “usable in constant expressions”

Section: 7.7  [expr.const]     Status: C++20     Submitter: Davis Herring     Date: 2019-08-28

[Adopted as a DR at the November, 2019 meeting.]

According to 7.7 [expr.const] paragraph 3,

An object or reference is usable in constant expressions if it is

The phrase “initialized with a constant expression” is not defined (which causes problems with std::is_constant_evaluated). It would be better to use “is constant-initialized” instead.

Proposed resolution (October, 2019):

This issue is resolved by the resolution of issue 2126.