If I understand foreach correctly, it uses either opApply() or theparser doesn't accept 'auto' in foreach(). i made a patch for it, but not sure if it will be accepted, as there is no good tests and no language spec fix.range static interface to do its job, and with a range interface "auto" does actually work?
- why foreach() don't use 'auto'? ketmar
- Re: why foreach() don't use 'auto'? Dicebot
- Re: why foreach() don't use 'auto'? ketmar
- Re: why foreach() don't use 'auto'? ketmar
- Re: why foreach() don't use 'auto'? Matej Nanut
- Re: why foreach() don't use 'auto'? ketmar
- Re: why foreach() don't use 'auto'? w0rp