Feedback and comments on ARM proposal

Roel Spilker r.spilker at gmail.com
Mon Mar 9 16:37:42 PDT 2009


A bit off-topic, and just out of curiosity: What is the reason the for-each
cannot work on Iterators? Is it just the problem when both Iterable and
Iterator are implemented, or were there other reasons as well?

Roel


> At this point, I think only one name will be supported (close), so the
> problem goes away.  We went through the same conniptions with the for-each
> statement (Does it work on Iterator as well as Iterable?  What happens if
> you implement both?).
>
>



More information about the coin-dev mailing list