uniform tuple syntax

Brian Schott via Digitalmars-d digitalmars-d at puremagic.com
Tue Mar 24 16:59:19 PDT 2015


On Tuesday, 24 March 2015 at 23:07:29 UTC, Vlad Levenfeld wrote:
> Anything wrong with using {}? It looks good to me, does it lead 
> to any parsing ambiguities?

Before:
auto x = {}; // struct or function?

After:
auto x = {}; // struct, function, or tuple??


More information about the Digitalmars-d mailing list