std::ranges...w::sentinel(3)
π NAME π
okay bestie, welcome to std::ranges::adjacent_transform_view::sentinel β yes, the whole mouthful β living in the C++ Standard Libary manual. π
std::ranges::adjacent_transform_view::sentinel β and yep, the name line is literally std::ranges::adjacent_transform_view::sentinel again. iconic, no notes. β¨
β¨ Synopsis β¨
template< bool Const > (exposition only*)
class /*sentinel*/;
This is the return type of adjacent_transform_view::end when the underlying view is not a common_range. π«Ά
The type /*sentinel*/<true> is returned by the const-qualified overload. The type /*sentinel*/<false> is returned by the non-const-qualified overload. slay.
π Member functions π
constructorβ constructs a sentinel (public member function). π
πΈ Non-member functions πΈ
operator==(C++23) β compares a sentinel with an iterator returned fromadjacent_transform_view::begin(function).operator-(C++23) β computes the distance between a sentinel and an iterator returned fromadjacent_transform_view::begin(function).
π¦ Example π¦
This section is incomplete. Reason: no example.
π not the empty example section, but we move.
β References β
- C++23 standard (ISO/IEC 14882:2023):
- 26.7.27.4 Class template
adjacent_transform_view::sentinel[range.adjacent_transform.sentinel]
- 26.7.27.4 Class template
π See also π
Category:
- Todo no example
mwah π this page comes from cppreference.com and is dated 2024.06.10; its manual identifier is std::ranges...w::sentinel(3). stay iconic, 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