
6 Dec
2006
6 Dec
'06
7:24 p.m.
Just because the vast majority of sequences will be random access doesn't mean we should limit ourselves to that, when it is so easy to allow the use of Forward Iterators.
Bidirectional maybe, but using a forward iterator would break some important functionality: for instance, if an invalid sequence is detected, we step back to the beginning of the sequence before reporting the error.