digitalmars.D.bugs - [Issue 21150] New: The specification is unclear (static foreach)
- d-bugmail puremagic.com (21/21) Aug 12 2020 https://issues.dlang.org/show_bug.cgi?id=21150
https://issues.dlang.org/show_bug.cgi?id=21150 Issue ID: 21150 Summary: The specification is unclear (static foreach) Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: dlang.org Assignee: nobody puremagic.com Reporter: porton narod.ru 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"? --
Aug 12 2020