std::ranges...::operator=(3)

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

✨ NAME ✨

okay bestie, say hello to std::ranges::chunk_view::inner-iterator::operator= β€” and yeah, it says it twice, because this page is literally titled:

std::ranges::chunk_view::inner-iterator::operator= β€” std::ranges::chunk_view::inner-iterator::operator=

we’re in the C++ Standard Libary manual, and this is the assignment-operator page for the inner iterator of chunk_view. very demure, very niche, very C++23 πŸ’…


πŸ’… SYNOPSIS πŸ’…

/*inner-iterator*/& operator=( /*inner-iterator*/&& other ) =
(since C++23)
     default;

so what does it do? it assigns another iterator. this move assignment operator is generated by the compiler. and it moves the underlying pointer other.parent_ to parent_. no cap, that’s the whole move. πŸŽ€


🫢 PARAMETERS 🫢

  • other β€” an iterator. that’s the one being moved from, bestie. πŸ¦‹

πŸ‘€ SEE ALSO πŸ‘€

  • constructor β€” constructs an iterator (C++23) (public member function)

shoutout to http://cppreference.com, dated 2024.06.10, and this icon of a page is std::ranges...::operator=(3) πŸ’–βœ¨

πŸ“¦ where this page comes from