[Issue 6365] AutoTupleDeclaration

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 20 19:21:09 PDT 2011


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



--- Comment #37 from Kenji Hara <k.hara.pg at gmail.com> 2011-10-20 19:20:06 PDT ---
(In reply to comment #34)
> We should really strive to get a consistent syntax for this.
> auto (x, y) is a totally specialized syntax.

See comment #19. It is a special case of (auto x, auto y), and it is useful if
you want to apply non-auto storage classes.

e.g.
const (x, y) -> (const x, const y)
const (int n, string s) -> (const int n, const string s)

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