Error on recursive alias

Johan Mollevik lijat.REMOVE.me at gmail.com
Sun Aug 25 08:44:15 PDT 2013


bearophile wrote:

> Johan Mollevik:
> 
>> What my ultimate goal is is to resurect my opApplyN function
>> allowing
>> me to do things like this
>>
>> uint[4][4] block;
>> foreach(x,y,v;opApplyN(block))
>> printf("%d %d %d\n",x,y,v);
> 
> What are x y and v?
> 
> Bye,
> bearophile

x and y are the two dimensional indices into the 4x4 array block and v 
is the vallue at block[y][x]


More information about the Digitalmars-d-learn mailing list