DIP32: Uniform tuple syntax

Traveler nooneknows at example.com
Mon Apr 1 00:08:47 PDT 2013


On Friday, 29 March 2013 at 08:58:06 UTC, kenji hara wrote:
> http://wiki.dlang.org/DIP32
>
> Kenji Hara

Why not square brackets?

int i;
string str;

[i, str] = [5, "line"];

Tuple as alias to Object[] or to Variant[].




More information about the Digitalmars-d mailing list