http://d.puremagic.com/issues/show_bug.cgi?id=6365
Andrei Alexandrescu <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #7 from Andrei Alexandrescu <[email protected]> 2011-07-23 07:32:23 PDT --- One simple syntactic matter is that we can't extend the existing syntax to work with specified types. That means the user must use "auto" but cannot specify the types of the variables defined. To allow that in the future, we need to move the paren before the auto: (auto i, j) = tuple(1.2, "a"); Then the syntax can be later extended to: (double i, string j) = tuple(1.2, "a"); Anyway, we should wait for Walter to weigh in. Thanks Kenji for this work. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
