Standard C++ Library Class Reference

r value of type X&
t value of type T
Requirements for Output Iterators
The following expressions must be valid for output iterators:
X(a) copy constructor, a == X(a).
X u(a) copy constructor, u == a
X u = a assignment, u == a
*a = t result is not used
++r returns X&
r++ return value convertable to const X&
*r++ = t result is not used
The only valid use for the operator * is on the left hand side of the assignment statement.
Algorithms using output iterators should be single pass algorithms. That is, they should not pass
through the same iterator twice.
See Also
Iterators