Associative array references

Atila Neves atila.neves at gmail.com
Tue Dec 3 01:31:39 PST 2013


On Monday, 2 December 2013 at 16:52:51 UTC, bearophile wrote:
> Atila Neves:
>
>> How would that go in this case?
>
> An example usage:
>
> void main() {
>     int[float][string] aa;
>     aa["foo"][1.5] = 1;
> }
>
> Bye,
> bearophile

Oh. That makes sense. Doh!

I guess I was focussing on "key to AA of..." and that's why I 
wrote it that way.


More information about the Digitalmars-d-learn mailing list