W3cubDocs

/C++

std::ostream_iterator<T,CharT,Traits>::operator*

ostream_iterator& operator*();

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

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

Parameters

(none).

Return value

*this.

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/iterator/ostream_iterator/operator*