Adam D. Ruppe:
> auto a = {"foo":12, "bar":"twelve"};
>
> int a_foo = a.foo;
> string a_bar = a[1];
>
>
> The std.typecons Tuple!() can do this kind of thing too.
I think Tuple!() has them mostly because there is no handy syntax
to unpack them.
Tuples with field names are records.
Bye,
bearophile