What's the difference between input iterators and read-only forward iterators?
Because the latter are read-only, they obviously don't satisfy requirements of output iterators. And, because of that, they're effectively input iterators with additional guarantees (if any). The problem is, what additional guarantees?
My guess would be that forward iterators are multi-pass and input iterators are not, am I right?
See Question&Answers more detail:os