Repost: make foreach(i, a; range) "just work"

Daniel Murphy yebbliesnospam at gmail.com
Fri Feb 21 06:58:58 PST 2014


"Steven Schveighoffer"  wrote in message 
news:op.xbmyjnnzeav7ka at stevens-macbook-pro.local...

> I'd rather see it do:
>
> 1. can I satisfy this foreach using opApply? If yes, do it.
> 2. If not, can I satisfy this foreach using range iteration?
>
> This may be how it works, I honestly don't know.

It is. 



More information about the Digitalmars-d mailing list