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

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

πŸ’– NAME

Okay so this is std::ranges...ner-iterator(3) from the C++ Standard Library, and the actual thing it's naming is std::ranges::chunk_view::inner-iterator::inner-iterator β€” yep, the full name twice, because the NAME block is extra like that. It's the constructor for the inner iterator of std::ranges::chunk_view, and it's giving "small but iconic" energy. πŸ’…βœ¨

✨ Synopsis ✨

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

Construct an iterator. Line (1) is a move constructor which move-initializes the underlying pointer parent_ with other.parent_. Line (2) is a private constructor which is used by chunk_view::begin; this constructor is not accessible to users, and it initializes parent_ with std::addressof(parent). No cap, that's the whole construction lore. 🫢

πŸŽ€ Parameters πŸŽ€

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

🌸 Example 🌸

This section is incomplete. Reason: no example. Not me showing up with an empty example slot β€” that's literally what the page says. 😭

πŸ‘€ See also πŸ‘€

  • operator= β€” move assigns another iterator, (C++23), (public member function).

πŸ—‚οΈ Category πŸ—‚οΈ

  • Todo no example

Source: http://cppreference.com Β· version/date: 2024.06.10 Β· footer page tag: std::ranges...ner-iterator(3). Bye bestie, go build those iterators β€” periodt. πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from