std::ranges...ew::sentinel(3)
π std::ranges::zip_view::sentinel (3) π
okay bestie, welcome to the C++ Standard Libary manual β¨ β the header page thingy is std::ranges...ew::sentinel(3), and the full name in the NAME section is std::ranges::zip_view::sentinel. no cap, we're in (3) land.
πΈ NAME πΈ
std::ranges::zip_view::sentinel β std::ranges::zip_view::sentinel
π¦ Synopsis π¦
template< bool Const > (since C++23)
class /*sentinel*/; (exposition only*)
This is the return type of zip_view::end when the underlying view is not a common_range. π
The type /*sentinel*/<true> or /*sentinel*/<false> treats the underlying view as const-qualified or non-const-qualified respectively. π«Ά
π Data members π
Member name β member definition, and yes bestie there's exactly one private member to clock π:
end_(private) βstd::tuple<ranges::sentinel_t<Views>...>ifConstisfalse, orstd::tuple<ranges::sentinel_t<const Views>...>ifConstistrue. (exposition-only member object*)
π Member functions π
- constructor β constructs a sentinel (public member function). π οΈ
π Non-member functions π
operator==β compares a sentinel with an iterator returned fromzip_view::begin(C++23) (function). πoperator-β computes the distance between a sentinel and an iterator returned fromzip_view::begin(C++23) (function). π
mwah π that's the whole vibe. source is http://cppreference.com, date is 2024.06.10, and the footer's version string is std::ranges...ew::sentinel(3). bye 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