std::front_...r::operator*(3)
std::front_insert_iterator::operator* π
okay so this is the std::front_insert_iterator::operator* page from the C++ Standard Libary manual β yes bestie, Libary, typo and all, we are not fixing it, it's part of the vibe. the header/footer shorthand is std::front_...r::operator*(3), and honestly? iconic. π«Ά
β¨ NAME β¨
std::front_insert_iterator::operator* - std::front_insert_iterator::operator*
that's the name. same thing twice, zero notes. main character energy. π
πΈ Synopsis πΈ
front_insert_iterator& operator*(); (until C++20)
constexpr front_insert_iterator& operator*(); (since C++20)
so what does it do? does nothing, bestie. this member function is provided to satisfy the requirements of LegacyOutputIterator. no cap.
it returns the iterator itself, which makes it possible to use code such as *iter = value to output (insert) the value into the underlying container. so you can do the dereference-assign thing and the value gets output (inserted) into the underlying container. slay. π
π Parameters π
(none) β no parameters. not one. zero. the void of arguments. respect it. π
π Return value π
*this β it returns the iterator itself. periodt. π
made with love by source http://cppreference.com, version/date 2024.06.10, page std::front_...r::operator*(3) β byeee bestie, mwah πβ¨
π¦ 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