anonymous static array

bearophile bearophileHUGS at lycos.com
Wed Mar 21 08:15:18 PDT 2012


Jesse Phillips:

>     int[100][string] counts;
>     int[100] a;
>     counts["some_key"] = a;
>     counts["some_key"][20]++;

Someone is currently trying to improve/fix AAs, this seems a
problem that is worth trying removing.

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list