foreach by value iteration

bearophile bearophileHUGS at lycos.com
Mon Feb 27 17:56:48 PST 2012


Peter Alexander:

> C# isn't the same. If you iterate over structs you cannot modify 
> the iteration variable. You have to explicitly copy.

C# developers are old wise foxes, again :o) My respect for them grows some more every year.

Bye,
bearophile


More information about the Digitalmars-d mailing list