CWG Issue 2439 (original) (raw)

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

2025-11-05


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

Section: 7.7 [expr.const]Status: C++20Submitter: Davis HerringDate: 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 withstd::is_constant_evaluated). It would be better to use “is constant-initialized” instead.

Proposed resolution (October, 2019):

This issue is resolved by the resolution ofissue 2126.