std::experi...::operator++(3)
β¨ std::experi...::operator++(3) β¨
okay bestie, welcome to the std::experi...::operator++(3) page from the C++ Standard Libary manual β yes, that's the manual name, and we're keeping it exactly as printed π. This one is about the increment operators on std::experimental::ostream_joiner, and it's short, sweet, and lowkey iconic.
πΈ NAME πΈ
std::experimental::ostream_joiner::operator++ - std::experimental::ostream_joiner::operator++
no cap, that's the whole name bestie π«Ά
β¨ Synopsis β¨
Two overloads, both tagged (library fundamentals TS v2), both noexcept:
ostream_joiner& operator++() noexcept; (library fundamentals TS v2)
ostream_joiner& operator++( int ) noexcept; (library fundamentals TS v2)
Okay so what do they actually do? literally nothing. The page says it straight up: 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. it's giving βincrement? never heard of herβ π
π Parameters π
(none) β zero parameters, not a single one, nada. π
π Return value π
*this β that's the return value, periodt. it just hands you back *this and minds its own business. πΈ
mwah π this little page was brought to you by http://cppreference.com, dated 2024.06.10, and filed under std::experi...::operator++(3). bye bestie, go slay some output iterators! π«Άβ¨
π¦ 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