std::ranges...or::iterator(3)
πΈ NAME πΈ
okay bestie, this is the std::ranges...or::iterator(3) page from the C++ Standard Libary manual β yes, thatβs literally how the header spells it, and we are not fixing it. The name is std::ranges::join_with_view::iterator::iterator, and the original hits you with it twice: std::ranges::join_with_view::iterator::iterator. Itβs giving βI contain multitudes,β but make it C++.
β¨ Synopsis β¨
okay so there are two constructors here, both marked (since C++23), and the manpage line-wrap was doing the absolute most. Here are the overloads with all the tokens intact:
/*iterator*/() requires std::default_initializable<ranges::iterator_t<Base>> = default;
(1) (since C++23)
constexpr /*iterator*/( /*iterator*/<!Const> i )
requires Const &&
std::convertible_to<ranges::iterator_t<V>, ranges::iterator_t<Base>> &&
std::convertible_to<ranges::iterator_t<ranges::range_reference_t<V>>, ranges::iterator_t<InnerBase>> &&
std::convertible_to<ranges::iterator_t<Pattern>, ranges::iterator_t<PatternBase>>;
(2) (since C++23)
Construct an iterator. Thatβs the whole assignment, and honestly? iconic.
- Default constructor. Value-initializes the underlying iterator to
Baseand the iterator toPatternBase, and initializes the pointer to parentjoin_with_viewwithnullptr. - Conversion from
/*iterator*/<false>to/*iterator*/<true>. Move constructs corresponding members.
also thereβs a private constructor, used byjoin_with_view::beginandjoin_with_view::end. It is not accessible to users, so donβt try to summon it, bestie.
π Parameters π
iβ an/*iterator*/<false>. Thatβs it. One parameter, one icon.
π Example π
This section is incomplete Reason: no example
π¦ Category π¦
Category: * Todo no example
mwah π β source http://cppreference.com, date/version 2024.06.10, page std::ranges...or::iterator(3). 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