public member function
<iterator>

std::ostream_iterator::operator*

reference operator*() const;
Dereference iterator
Returns *this.

This actually does not dereference the iterator other than to be assigned a value with operator=

Parameters

none

Return value

*this

Data races

The object is accessed.

Exception safety

Strong guarantee: if an exception is thrown, there are no changes in the iterator.

See also