Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

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

Does nothing. These operator overloads are provided to satisfy the requirements of LegacyOutputIterator.

NotebookLM
ostream_iterator& operator++();
ostream_iterator& operator++( int );

Does nothing. These operator overloads are provided to satisfy the requirements of LegacyOutputIterator. They make it possible for the expressions *iter++=value and *++iter=value to be used to output (insert) a value into the underlying stream.

Parameters

(none)

Return value

*this

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.