std::ranges...l::sentinel(3)
π¦ std::ranges::take_view::sentinel::sentinel π¦
okay so bestie, welcome to std::ranges...l::sentinel(3) from the C++ Standard Libary. Weβre talking about std::ranges::take_view::sentinel::sentinel β yes, the name is giving template realness, but the vibe check is simple: these are the constructors for that sentinel. No cap. π
πΈ NAME πΈ
std::ranges::take_view::sentinel::sentinel β std::ranges::take_view::sentinel::sentinel. Yep, it says it twice in the original, and honestly? Same. Itβs literally the constructor name, and it has main character energy. π«Ά
β¨ Synopsis β¨
/*sentinel*/() = default;
(1) (since C++20)
constexpr explicit /*sentinel*/( ranges::sentinel_t<Base> end );
(2) (since C++20)
constexpr /*sentinel*/( /*sentinel*/<!Const> s )
requires Const &&
(3) (since C++20)
std::convertible_to<ranges::sentinel_t<V>,
ranges::sentinel_t<Base>>;
Constructs a sentinel. Here are the three overloads, all (since C++20):
- 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. πsβ a/*sentinel*/<false>. π¦
π§ Example π§
This section is incomplete.
Reason: no example.
not me getting emotional over a missing example π
π Category π
- Todo no example
mwah π huge kiss to http://cppreference.com and the 2024.06.10 date β thatβs the footer sign-off, bestie, and weβre out. periodt. π«Ά
π¦ 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