http://d.puremagic.com/issues/show_bug.cgi?id=6365
--- Comment #23 from Andrei Alexandrescu <and...@metalanguage.com> 2011-07-25 21:03:44 PDT --- (In reply to comment #22) > Two quite useful use cases: > > A) > int[] array = [1, 2]; // dynamic array > auto (x, y) = array; // raises a run-time exception if array.length != 2 No please. Too much magic for the benefit. > B) > auto (x, y, z) = iota(3); // raises a run-time exception if the lazy Range > doesn't yield exactly 3 itens. No please. I'd say let's not go overboard. auto (names) = initializer; sounds like the good thing to do, so let's do it. The rest are considerably more tenuous. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------