std::ranges...l::sentinel(3)
Hey bestie! π You're looking at the std::ranges...l::sentinel(3) page from the C++ Standard Library β yes, thatβs the manual name, and weβre folding it in right here at the top so you donβt have to read a boring header line. Letβs get into it, because this sentinel is lowkey iconic.
π NAME π
std::ranges::join_view::sentinel::sentinel β std::ranges::join_view::sentinel::sentinel
okay so itβs literally the constructor for the sentinel of join_view. The name is a mouthful, but it ate. No cap.
πΈ SYNOPSIS πΈ
/*sentinel*/() = default;
(1) (since C++20)
constexpr explicit /*sentinel*/( Parent& parent );
(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>>;
Constructs a sentinel. Thatβs the whole vibe.
- Default constructor. Value-initializes the underlying sentinel.
- Initializes the underlying sentinel
end_withranges::end(parent.base_). - Conversion from
/*sentinel*/<false>to/*sentinel*/<true>. Move constructs the underlying sentinelend_withstd::move(i.end_).
π PARAMETERS π
parentβ a (possibly const-qualified)ranges::join_viewiβ a/*sentinel*/<false>
these are the besties you pass in π«Ά
π EXAMPLE π
This section is incomplete
Reason: no example
not me finding a manpage with no example π but we respect it.
π¦ CATEGORY π¦
- Todo no example
sourced from http://cppreference.com, version 2024.06.10, page std::ranges...l::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