This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 118f. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2025-11-07
The restriction in 8.1 [stmt.pre] paragraph 1 should also apply to any structured-binding-declaration in a for-range-declaration.
Proposed resolution (approved by CWG 2025-11-06):
Change in 8.1 [stmt.pre] paragraph 8 as follows:
Let D be any condition or for-range-declaration. In the decl-specifier-seq ofa condition or of a for-range-declarationD, including that of any structured-binding-declaration ofthe conditionD, each decl-specifier shall be either a type-specifier or constexpr.