On 3/21/12, H. S. Teoh <hst...@quickfur.ath.cx> wrote:
> whereas if this was supported, the code would simply be:
>
>       void inc_frequency(string entry, int xcoor, int ycoor) {
>               map[entry][x][y]++;
>       }

Wait a minute. Are we missing something? This does work in 2.058:

void inc_frequency(string entry, int x, int y)
{
    int[int][int][string] map;
    map[entry][x][y]++;
}

void main() {
    inc_frequency("bla", 10, 20);
}

I'm now totally confused. :x

Reply via email to