std::front_...:operator++(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

🌸 NAME 🌸

Bestie, welcome to the std::front_...:operator++(3) page from the C++ Standard Libary 🫢. The NAME section is literally serving std::front_insert_iterator::operator++ twice with a lil’ hyphen after the first one, so here it is, untouched:

  • std::front_insert_iterator::operator++ -
  • std::front_insert_iterator::operator++

✨ Synopsis ✨

Okay so the overloads are:

front_insert_iterator& operator++();                (until C++20)
constexpr front_insert_iterator& operator++();      (since C++20)
front_insert_iterator operator++( int );            (until C++20)
constexpr front_insert_iterator operator++( int );  (since C++20)

No cap: 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 container. That’s the whole assignment, bestie πŸ’….


πŸŽ€ Parameters πŸŽ€

(none) β€” literally no parameters, not a single one, periodt ✨.


πŸ’– Return value πŸ’–

*this β€” she returns herself, main character energy πŸ‘‘.


Signed, sealed, delivered by http://cppreference.com on 2024.06.10 β€” page: std::front_...:operator++(3) πŸ«ΆπŸ’–

πŸ“¦ where this page comes from