Foreach type infering only works up to 2 levels?

Andrej Mitrovic andrej.mitrovich at gmail.com
Wed Feb 2 12:49:09 PST 2011


On 2/2/11, Mafi <mafi at example.org> wrote:
> foreach(x, ref column; array)
> foreach(y, ref element; column)
> //maybe more...
> {
>      //do something
> }

Cool, that fixes the indentation issue. Nice.


More information about the Digitalmars-d-learn mailing list