public member function


ostream_iterator& operator++();
ostream_iterator  operator++(int);
Increment iterator
Returns *this.

This function has no required effect, neither in the iterator nor in its associated stream (streams advance automatically on insertion).


none (the second version overloads the post-increment operator).

Return value


Data races

The object is accessed.

Exception safety

Basic guarantee: if an exception is thrown, the object is in a valid state.

See also