std::ranges...r::iterator(3)
okay so bestie, this is the std::ranges...r::iterator(3) page from the C++ Standard Libary π
β we're deep in std::ranges::adjacent_view::iterator::iterator territory and it's giving constructor reveal. Let's go β¨
β¨ NAME β¨
std::ranges::adjacent_view::iterator::iteratorβstd::ranges::adjacent_view::iterator::iterator
πΈ Synopsis πΈ
the synopsis, verbatim, because code doesn't get a vibe rewrite π
/*iterator*/() = default;
(1) (since C++23)
constexpr /*iterator*/( /*iterator*/<!Const> i )
requires Const &&
(2) (since C++23)
ranges::convertible_to<ranges::iterator_t<V>,
ranges::iterator_t<Base>>;
What's the move? Construct an iterator. periodt π«Ά
- Default constructor. Value-initializes the underlying array of iterators
current_toBase, as if bystd::array<ranges::iterator_t<Base>, N>(). lowkey iconic. - Conversion from
/*iterator*/<false>to/*iterator*/<true>. Move constructs the underlyingcurrent_member. slay.
There are also two private constructors, used by ranges::adjacent_view::begin and ranges::adjacent_view::end. These constructors are not accessible to users π β so no touching, bestie, they're not for us.
π Parameters π
iβ an/*iterator*/<false>
π Example π
This section is incomplete π Reason: no example
π Category π
* Todo no example
okay bye bestie π β footer source/version/date check: http://cppreference.com, 2024.06.10, page std::ranges...r::iterator(3). Mwah β¨π
π¦ 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