foreach by value iteration

Martin Nowak dawg at
Mon Feb 27 14:35:30 PST 2012

> I really don't know how we could make it easier for you to avoid this  
> error
> without making it impossible to other, useful things. But your code  
> works if
> you use ref. You just have to remember to do that.
They mostly behave like function parameters.

More information about the Digitalmars-d mailing list