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

2024-03-20


2186. Unclear point that “preceding initialization” must precede

Section: 7.7  [expr.const]     Status: drafting     Submitter: Hubert Tong     Date: 2015-10-24

Similar to the concern of issue 2166, the requirement of 7.7 [expr.const] bullet 2.7.1 for

does not specify the point at which the determination of “preceding initialization” is made: is it at the point at which the reference to the variable appears lexically, or is it the point at which the outermost constant evaluation occurs? There is implementation divergence on this point.