Kill as soon as possible the special case handling of tuples in foreach
Vlad Levenfeld via Digitalmars-d
digitalmars-d at puremagic.com
Tue Jan 6 08:21:43 PST 2015
I loved this feature when I first found out about it but after
reading your arguments against on the bug tracker I have to agree
with your position. It would be much nicer if it worked with
uniform tuple syntax like
foreach (i, {x,y}; [tuple('a',`b`),tuple('c',`d`)])
where i is size_t and x,y is char, string
which is I think what you were proposing.
More information about the Digitalmars-d
mailing list