std::ranges...or::iterator(3)
πΈ NAME πΈ
std::ranges::zip_transform_view::iterator::iterator β std::ranges::zip_transform_view::iterator::iterator.
Okay bestie, welcome to the C++ Standard Libary manual page std::ranges...or::iterator(3). The manual name is literally C++ Standard Libary, and the star of the show is that exact constructor name up there. No cap, it's giving full-path main character energy. π
β¨ Synopsis β¨
/*iterator*/iterator() = default; (1)
(since C++23)
constexpr /*iterator*/( /*iterator*/<!Const> i )
requires Const && (2)
(since C++23)
std::convertible_to</*ziperator*/<false>,
/*ziperator*/<Const>>;
constexpr /*iterator*/( Parent& parent, /*ziperator*/<Const> (3)
(exposition only*)
inner );
Construct an iterator. That's the whole vibe. Here's the breakdown, bestie:
- Default constructor. It default-initializes the underlying iterators, and value-initializes the pointer to parent
ranges::zip_transform_viewwithnullptr. Also it's(since C++23), so she's new new. π - Conversion from
/*iterator*/<false>to/*iterator*/<true>. It move constructs the underlying pointer to parentparent_withi.parent_andinner_withstd::move(i.inner_). The constraint isrequires Const &&andstd::convertible_to</*ziperator*/<false>, /*ziperator*/<Const>>;β yes, that's the exact spell. Also(since C++23). β¨ - Exposition-only joint. It initializes the pointer to parent
parent_withstd::addressof(parent), and the underlyinginner_iterator withstd::move(inner). It's marked(exposition only*)in the synopsis, and this constructor is not accessible to users. So admire it from afar, bestie. π¨
π Parameters π
iβ an/*iterator*/<false>.parentβ a (possibly const-qualified)ranges::zip_transform_view.innerβ an iterator of typeziperator<Const>.
π¦ Example π¦
This section is incomplete. Reason: no example.
So yeah, no example here β she's a work in progress, and honestly same. π«
π·οΈ Category π·οΈ
Category:
- Todo no example
Big cute sign-off: this page came from http://cppreference.com, version/date 2024.06.10, and the footer name is std::ranges...or::iterator(3). That's the whole manual page, 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