std::ranges...w::sentinel(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’– 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 from adjacent_transform_view::begin (function).
  • operator- (C++23) β€” computes the distance between a sentinel and an iterator returned from adjacent_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]

πŸ‘‘ 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