DIP32: Uniform tuple syntax

Jacob Carlborg doob at me.com
Fri Mar 29 08:50:10 PDT 2013


On 2013-03-29 14:26, Timon Gehr wrote:

> Remove the quotes and it looks like a struct literal.
>
> I think if named fields are allowed, it should look as follows:
>
> auto a = {foo: 12, bar: "twelve"};

I agree.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list