std::ranges...ew::sentinel(3)
πΈ std::ranges...ew::sentinel(3) β fresh from the C++ Standard Libary πΈ
okay so bestie, welcome to the std::ranges::join_with_view::sentinel page β yes, itβs a mouthful, no, we are not skipping a single crumb π
β¨ NAME β¨
std::ranges::join_with_view::sentinel β std::ranges::join_with_view::sentinel π
(yes, it said it twice, and honestly? iconic.)
π Synopsis π
template< bool Const > (since C++23)
class /*sentinel*/ (exposition only*)
So hereβs the tea: this lil class is the return type of join_with_view::end when either of the underlying ranges (V or ranges::range_reference_t<V>) is not a common_range, or when the parent join_with_view is not a forward_range. π
Vibe check on Const: if either V or Pattern is not a simple view, Const is true for sentinels returned from the const overloads, and false otherwise. If V and Pattern are simple views, Const is true. No cap, those are the rules. π
π Member functions π
- constructor β constructs a sentinel (public member function) β¨
π Non-member functions π
operator==β compares a sentinel with an iterator returned fromjoin_with_view::begin(C++23) (function) π
okay thatβs the whole page, bestie β no missing details, no skipped bits, just sentinel realness. bye bestie! This cutie came from http://cppreference.com, dated 2024.06.10, footer vibe: std::ranges...ew::sentinel(3) π«Άπ
π¦ 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