You are correct, it seems his example has it out of order, the example on Learn was
int[100][string] map; ... On Wednesday, 21 March 2012 at 18:58:34 UTC, Ali Çehreli wrote:
This works:
import std.stdio;
void main()
{
int[string][int] map;
map[20]["abc"]++;
writeln(map);
}
The output:
[20:["abc":1]]
Ali
