[Issue 6365] AutoTupleDeclaration

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jul 23 05:27:17 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6365



--- Comment #6 from Kenji Hara <k.hara.pg at gmail.com> 2011-07-23 05:27:14 PDT ---
(In reply to comment #4)
> Optionally there is the foreach use case too. A possible syntax:
> 
> auto array = [tuple(1,"foo"), tuple(2,"bar")];
> foreach (tuple(id, name); array) {}

I filed an issue about alias this + foreach range.front behavior.
http://d.puremagic.com/issues/show_bug.cgi?id=6366
Please comment there.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list