D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 21150 - The specification is unclear (static foreach)
Summary: The specification is unclear (static foreach)
Status: NEW
Alias: None
Product: D
Classification: Unclassified
Component: dlang.org (show other issues)
Version: D2
Hardware: All All
: P3 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-12 22:26 UTC by Victor Porton
Modified: 2024-12-15 15:26 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Victor Porton 2020-08-12 22:26:32 UTC
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 dlangBugzillaToGithub 2024-12-15 15:26:26 UTC
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