std::ranges...w::sentinel(3)
πΈ NAME πΈ
std::ranges::take_view::sentinel β std::ranges::take_view::sentinel π
okay so this is the std::ranges::take_view::sentinel page from the C++ Standard Libary manual β you might spot it as std::ranges...w::sentinel(3) in the wild. bestie, we are fully in sentinel territory π«Ά
β¨ Synopsis β¨
template< bool Const > (since C++20)
class /*sentinel*/ (exposition only*)
The return type of take_view::end when the underlying view is not a sized_range. β¨
The type /*sentinel*/<true> is returned by the const-qualified overload. The type /*sentinel*/<false> is returned by the non-const-qualified overload. π
π Member types π
- Member type:
Base(private) β Definition:const VifConstistrue, otherwiseV. (exposition-only member type*)
π¦ Data members π¦
- Member object:
end_(private) β Definition: a sentinel of typestd::sentinel_t<Base>obtained from (possibly const-qualified)V. (exposition-only member object*)
π Member functions π
constructorβ constructs a sentinel (public member function).base(C++20) β returns the underlying sentinel (public member function).
π Non-member functions π
operator==(C++20) β compares a sentinel with an iterator returned fromtake_view::begin(function).
mwah π β source: http://cppreference.com, version/date: 2024.06.10, page: std::ranges...w::sentinel(3). byeee 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