Summary: No documentation for front tuple expansion in foreach
                    over range
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: websites

--- Comment #0 from Denis <> 2012-01-24 17:42:36 MSK 
As kenji hara wrote in NG:
Today, foreach can expand the front tuple automatically.

foreach (i, e; zip(sequence!"n", range))
     // i = 0, 1, 2, ...
     // e = elements of range

So extra unpacking syntax is not need.

Kenji Hara

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to