Standard C++ Library Class Reference

r value of type X&
t value of type T
Requirements for Input Iterators
The following expressions must be valid for input iterators:
X u(a) copy constructor, u == a
X u = a assignment, u == a
a == b, a != b return value convertable to bool
*a a == b implies *a == *b
++r returns X&
r++ return value convertable to const X&
*r++ returns type T
a -> m returns (*a).m
For input iterators, a == b does not imply that ++a == ++b.
Algorithms using input iterators should be single pass algorithms. That is they should not pass
through the same iterator twice.
The value of type T does not have to be an lvalue.
See Also
Iterators