This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 115d. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2024-10-26
[Moved to DR at the November, 2016 meeting.]
According to bullet 2.4 of 13.8.3.4 [temp.dep.constexpr], an id-expression is value-dependent if
it names a static data member that is a dependent member of the current instantiation and is not initialized in a member-declarator,
This implies that the address of an initialized static data member is not value-dependent, which is incorrect.
Proposed resolution (June, 2016):
Change 13.8.3.4 [temp.dep.constexpr] paragraph 5 as follows:
An expression of the form &qualified-id where the qualified-id names a dependent member of the current instantiation is value-dependent. An expression of the form
&cast-expression
is also value-dependent if evaluating cast-expression as a core constant expression (7.7 [expr.const]) succeeds and the result of the evaluation refers to a templated entity that is an object with static or thread storage duration or a member function.