std::ranges...view::begin(3)
okay so this is the std::ranges...view::begin(3) page from the C++ Standard Libary manual β yes, the title has the dots and the manual name has the typo, we are keeping both exactly as they are, no cap π
β¨
β¨ NAME β¨
std::ranges::zip_view::begin β std::ranges::zip_view::begin (the name is literally the name, iconic behavior, we love a self-referential moment π)
πΈ Synopsis πΈ
bestie, hereβs the signature tea, copied exactly:
constexpr auto begin() (1) (since C++23)
requires (!(/*simple-view*/<Views> && ...));
constexpr auto begin() const (2) (since C++23)
requires (ranges::range<const Views> && ...);
This one obtains the beginning iterator of zip_view. periodt π¦
- Equivalent to
return /*iterator*/<false>(/*tuple-transform*/(ranges::begin, views_));. - Equivalent to
return /*iterator*/<true>(/*tuple-transform*/(ranges::begin, views_));.
π Parameters π
(none) β not a single parameter, sheβs low-maintenance like that π
π Return value π
Iterator to the first element. thatβs the whole vibe π₯
π Notes π
ranges::range<const ranges::zip_view<Views...>> is modeled if and only if for every type Vi in Views..., const Vi models range. that βif and only ifβ is doing main character work, donβt skip it π
π§ Example π§
This section is incomplete Reason: no example
no example yet, bestie, the page said what it said ππ
β See also β
end(C++23)β returns an iterator or a sentinel to the end (public member function)ranges::begin(C++20)β returns an iterator to the beginning of a range (customization point object)
π Category π
* Todo no example
okay thatβs the whole page β source/version is http://cppreference.com and the date on it is 2024.06.10, so go slay some zips, bestie πβ¨
π¦ 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