Bug 21150 – The specification is unclear (static foreach)

Status
NEW
Severity
normal
Priority
P3
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2020-08-12T22:26:32Z
Last change time
2024-12-15T15:26:26Z
Assigned to
No Owner
Creator
Victor Porton
Moved to GitHub: dlang.org#4109 →

Comments

Comment #0 by porton — 2020-08-12T22:26:32Z
24.6.2 "static foreach supports multiple variables in cases where the corresponding foreach statement supports them. (In this case, static foreach generates a compile-time sequence of tuples, and the tuples are subsequently unpacked during iteration)." I do not understand these phrases. Please rewrite this specification fragment to be understandable. What does it mean "foreach statement supports multiple variables"?
Comment #1 by robert.schadek — 2024-12-15T15:26:26Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dlang.org/issues/4109 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB