ARM Blocks: ease of use and for loops
Neal Gafter
neal at gafter.com
Wed Nov 11 12:40:04 PST 2009
On Wed, Nov 11, 2009 at 12:06 PM, Kevin Bourrillion <kevinb at google.com>wrote:
> I can't stand the thought of having to descend into RandomAccess-style
> hell, so passing an iterator through these methods will likely wipe the
> Closeable right off, making the foreach improvement less applicable.
I can't quite parse this sentence. What is RandomAccess-style hell? What
does it mean to "wipe" a Closeable?
I wouldn't expect methods that receive an Iterator to close it, since the
caller retains a reference to it. Can you please explain the issue you're
concerned about?
-Neal
More information about the coin-dev
mailing list