Created on 2026-01-14.00:00:00 last changed 2 weeks ago
Proposed resolution (approved by CWG 2026-01-23):
Change in 8.7 [stmt.expand] bullet 5.3 as follows:
... where N is the structured binding size of the type of
the expansion-initializer and Si is
{
for-range-declaration = ui vi;
compound-statement
}
If the expansion-initializer is an lvalue, then
vi is ui; otherwise, vi is
static_cast<decltype(ui)&&>(ui).
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2026-02-21 09:24:24 | admin | set | status: open -> tentatively ready |
| 2026-01-21 21:28:50 | admin | set | messages: + msg8457 |
| 2026-01-14 00:00:00 | admin | create | |