std::ostrea...::operator++(3)
π NAME π
okay so welcome to std::ostrea...::operator++(3), bestie β that's the (3) manual page from the C++ Standard Libary (yes, Libary, that's literally how it's spelled in the header, no cap π). The full name is std::ostream_iterator::operator++, and the description is also std::ostream_iterator::operator++. It's giving "same thing, twice, because why not" energy β¨.
π¦ Synopsis π¦
ostream_iterator& operator++();
ostream_iterator& operator++( int );
These two? They do nothing. Absolutely nothing. Zero. Nada. π
They exist to satisfy the requirements of LegacyOutputIterator. That's the whole gig. They make it possible for the expressions *iter++=value and *++iter=value to be used to output (insert) a value into the underlying stream. Slay, honestly π.
π Parameters π
(none) β literally no parameters, not even one. π«Ά
π₯ Return value π₯
*this β that's it, that's the return value. periodt. π
mwah π this iconic little page comes from http://cppreference.com, with footer source/version and date 2024.06.10 β byeee bestie, go insert some values into a stream responsibly ππ
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms