This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 118c. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2025-10-25
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-10-24):
Change in 8.1 [stmt.pre] paragraph 8 as follows:
In the decl-specifier-seq of a condition or of a for-range-declaration, including that of any structured-binding-declaration of the condition or for-range-declaration, each decl-specifier shall be either a type-specifier or constexpr.