[Issue 6365] AutoTupleDeclaration

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Dec 14 00:01:50 PST 2011


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



--- Comment #40 from bearophile_hugs at eml.cc 2011-12-14 00:01:37 PST ---
Some people agree with me that mass assignment syntax for tuples is bad, it's
an anti-feature:

auto (i, j) = 10;
assert(i == 10);
assert(j == 10);


Like Alex R. Petersen:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=151709

And Simen Kjaras:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=151709

-- 
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