Scroll to navigation

std::ostream_iterator::operator*(3) C++ Standard Libary std::ostream_iterator::operator*(3)

NAME

std::ostream_iterator::operator* - std::ostream_iterator::operator*

Synopsis

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

2026.11.10 http://cppreference.com