std::ostream_iterator::operator++ - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::ostream_iterator::operator++

From cppreference.com
< cpp‎ | iterator‎ | ostream iterator

ostream_iterator& operator++(); |  |
ostream_iterator& operator++( int ); |  |

Does nothing. These operator overloads are provided to satisfy the requirements of `OutputIterator`. They make it possible for the expressions *iter++=value and *++iter=value to be used to output (insert) a value into the underlying container.

### [edit] Parameters

(none)

### [edit] Return value

*this

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/iterator/ostream_iterator/operator_arith&oldid=48475"