[Issue 4508] tuples should be indexable with foreach over range
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Oct 11 04:21:01 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=4508
bearophile_hugs at eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bearophile_hugs at eml.cc
--- Comment #1 from bearophile_hugs at eml.cc ---
I think this is a bad idea, in this form. So I suggest to close this issue.
I prefer this syntax much more:
static foreach(i; 0..tup.length) {
--
More information about the Digitalmars-d-bugs
mailing list