std::ranges...ter-iterator(3)

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

🌸 NAME 🌸

okay so bestie, welcome to the std::ranges...ter-iterator(3) page from the C++ Standard Libary manual πŸ’–. This page is literally about std::ranges::chunk_view::outer-iterator::outer-iterator β€” and yes, the NAME section says it twice, so we're saying it twice too: std::ranges::chunk_view::outer-iterator::outer-iterator πŸ˜­πŸ’….

✨ Synopsis ✨

Here's the exact synopsis, no cap:

          /*outer-iterator*/( /*outer-iterator*/&& other ) = default;  (1)
       (since C++23)
          private:                                                     (2)
       (exposition only*)
          constexpr explicit /*outer-iterator*/( chunk_view& parent );

Bestie, this thing constructs an iterator ✨.

  1. Move constructor. Move-initializes the underlying pointer parent_ with other.parent_. It's the (1) one, (since C++23).
  2. A private constructor which is used by chunk_view::begin. This constructor is not accessible to users. Initializes parent_ with std::addressof(parent). It's the (2) one, and the synopsis marks it private: and (exposition only*) 🫢.

πŸŽ€ Parameters πŸŽ€

  • other β€” an iterator.
  • parent β€” the enclosing ranges::chunk_view object.

πŸ¦‹ Example πŸ¦‹

This section is incomplete 😭.

Reason: no example.

🌈 See also 🌈

  • operator= β€” move assigns another iterator (C++23) (public member function) πŸ’…

πŸ“ Category πŸ“

  • Todo no example

that's the whole page, mwah πŸ’‹ β€” source http://cppreference.com, version/date 2024.06.10, straight from the footer πŸŽ€βœ¨.

πŸ“¦ where this page comes from