This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 119a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2025-12-20
[Accepted at the November, 2025 meeting.]
N5028 comment US 097Subclause 13.8.3.3 [temp.dep.expr] bullet 3.11 gives the impression that the specification for a type-dependent expansion-init-list is missing.
Proposed resolution (approved by CWG 2025-11-04):
Change in 13.8.3.3 [temp.dep.expr] bullet 3.11 as follows:
- ...
- a name N introduced by the for-range-declaration of an expansion-statement S if the type specified for N contains a placeholder type and either
- S is not an iterating expansion statement or
- the expansion-initializer of S is type-dependent, or
- S is not an iterating expansion statement, or
- ...