Namespaces
Variants
Views
Actions

std::ostream_iterator::operator++

From cppreference.com
< cpp‎ | iterator‎ | ostream iterator
Revision as of 07:54, 29 May 2013 by P12 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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