std::ranges...l::sentinel(3)
π¦ std::ranges::adjacent_view::sentinel::sentinel π¦
C++ Standard Libary manual page std::ranges...l::sentinel(3) reporting for duty β okay bestie, this one is all about the sentinel constructor vibes, no cap π
π NAME π
std::ranges::adjacent_view::sentinel::sentinelβstd::ranges::adjacent_view::sentinel::sentinel
β¨ Synopsis β¨
/*sentinel*/() = default;
(1) (since C++23)
constexpr /*sentinel*/( /*sentinel*/<!Const> i )
requires Const &&
(2) (since C++23)
std::convertible_to<ranges::sentinel_t<V>,
ranges::sentinel_t<Base>>;
Okay so, straight up: it Constructs a sentinel. β¨ Here's the tea:
- Default constructor. Value-initializes the underlying sentinel (denoted as
end_) withranges::sentinel_t<Base>(). - Conversion from
/*sentinel*/<false>to/*sentinel*/<true>. Move constructs the underlying sentinelend_with the corresponding member ofi.
This type also has a private constructor which is used by adjacent_view::end. This constructor is not accessible to users. π
π Parameters π
iβ a/*sentinel*/<false>
πΈ Example πΈ
This section is incomplete. Reason: no example. π
π Category π
- Todo no example
From http://cppreference.com, dated 2024.06.10, page std::ranges...l::sentinel(3) β mwah, slay, 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