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

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

🌸 NAME 🌸

std::ranges::zip_transform_view::sentinel β€” std::ranges::zip_transform_view::sentinel

okay bestie, this page is from the C++ Standard Libary manual, and the header shorthand is std::ranges...ew::sentinel(3) β€” we’re keeping that exact vibe πŸ’…


✨ Synopsis ✨

template< bool Const >  (since C++23)
class /*sentinel*/;     (exposition only*)

The return type of zip_transform_view::end when the underlying view is not a common_range.

The type /*sentinel*/<true> or /*sentinel*/<false> treats the underlying view as const-qualified or non-const-qualified respectively.

🧸 Data members 🧸

  • Member object: inner_ (private)
    • Definition: a sentinel of type zentinel<Const> (exposition-only member object*)

πŸ’… Member functions πŸ’…

  • constructor β€” constructs a sentinel (public member function)

πŸŽ€ Non-member functions πŸŽ€

  • operator== (C++23) β€” compares a sentinel with an iterator returned from zip_transform_view::begin (function)
  • operator- (C++23) β€” computes the distance between a sentinel and an iterator returned from zip_transform_view::begin (function)

source/version/date sign-off: http://cppreference.com Β· 2024.06.10 Β· page std::ranges...ew::sentinel(3) β€” bye bestie, stay iconic! 🫢✨

πŸ“¦ where this page comes from