public member function
<iterator>

std::ostream_iterator::operator++

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).

Parameters

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

Return value

*this

Data races

The object is accessed.

Exception safety

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

See also