Kelson Zawack <zawackkfb at gis.a-star.edu.sg> writes: > Since an iterator having an end is not actually an exceptional case... There's no requirement on iterators to be finite, so in a sense it is. In general it may be impractical to know whether an iterator has reached the end without calling next().