opApply if you want 0 .. N iterations during for a foreach statement and having it reset each time.
No, that won't help. I want to be able to iterate over a data set of infinite size.
Otherwise you want ranges :)An input range is more or less an iterator as you would think of it.You only need popFront, front and empty.
Ah yes, that's what I missed. Looks good. Thank you. :)