Namespaces
Variants
Views
Actions

std::ostream_iterator::operator*

From cppreference.com
< cpp‎ | iterator‎ | ostream iterator
Revision as of 15:19, 2 November 2012 by P12bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
ostream_iterator& operator*();

Does nothing, this member function is provided to satisfy the requirements of OutputIterator.

It returns the iterator itself, which makes it possible to use code such as *iter = value to output (insert) the value into the underlying container.

[edit] Parameters

(none)

[edit] Return value

*this