std::ranges...ner-iterator(3)
π 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 enclosingranges::chunk_viewobject.
πΈ 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
- 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