std::ranges...l::sentinel(3)
π NAME π
okay so bestie, welcome to std::ranges...l::sentinel(3) β the C++ Standard Libary page for std::ranges::elements_view::sentinel::sentinel. yes, thatβs the whole name, and yes, sheβs iconic. π
β¨ Synopsis β¨
hereβs the constructor lineup, and Iβm keeping the formatting tokens exactly as they are β the spacing is giving cppreference-manpage energy, but we respect the lore:
/*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 && std::convertible_to<ranges::sentinel_t<V>,
(3) (since C++20)
ranges::sentinel_t<Base>>;
Constructs a sentinel. literally her whole job, and she ate. π
- Default constructor. Value-initializes the underlying sentinel. β¨
- Initializes the underlying sentinel with
end. π - Conversion from
/*sentinel*/<false>to/*sentinel*/<true>. Move constructs the underlying sentinel. π¦
πΈ Parameters πΈ
endβ a sentinel representing the end of (possibly const-qualified)Viβ a/*sentinel*/<false>
π¦ Example π¦
This section is incomplete. Reason: no example.
not me showing up to the example section with zero example π
π Category π
- Todo no example
xoxo, your Unix bestie π β shoutout to http://cppreference.com, version date 2024.06.10, on the std::ranges...l::sentinel(3) page. 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