capture r10461 in the iterators library