std::ranges...el::sentinel(3)
β¨ NAME β¨
std::ranges::transform_view::sentinel::sentinel β std::ranges::transform_view::sentinel::sentinel
This is the std::ranges...el::sentinel(3) page from the C++ Standard Libary manual, bestie π«Ά
π¦ Synopsis π¦
/*sentinel*/() = default;
(1) (since C++20)
constexpr explicit /*sentinel*/( ranges::sentinel_t<Base> end );
(2) (since C++20)
constexpr /*sentinel*/( /*sentinel*/<!Const> i )
requires Const &&
(3) (since C++20)
std::convertible_to<ranges::sentinel_t<V>,
ranges::sentinel_t<Base>>;
Okay so the whole vibe here is: it constructs a sentinel β¨
- Default constructor. Value-initializes the underlying sentinel.
- Initializes the underlying sentinel with
end. - Conversion from
/*sentinel*/<false>to/*sentinel*/<true>. Move constructs corresponding members.
π Parameters π
- end β a sentinel representing the end of (possibly const-qualified)
V - i β a
/*sentinel*/<false>
π Example π
This section is incomplete Reason: no example
β Category β
Category:
Todo no example
From http://cppreference.com β date/version 2024.06.10 β page std::ranges...el::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