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

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

πŸŽ€ NAME πŸŽ€

okay bestie, this is the C++ Standard Libary manual page std::ranges...w::sentinel(3) for std::ranges::take_while_view::sentinel. The NAME line is giving matching-set energy because it repeats itself: std::ranges::take_while_view::sentinel β€” std::ranges::take_while_view::sentinel. periodt ✨

🌸 Synopsis 🌸

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

/*sentinel*/ is the return type of take_while_view::end. 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 πŸ¦‹

  • Base (private) β€” member type definition: const V if Const is true, otherwise V. (exposition-only member type*)

🧚 Data members 🧚

  • end_ (private) β€” member object: a sentinel of type std::sentinel_t<Base> that represents the end of the underlying view. (exposition-only member object*)
  • parent_ (private) β€” member object: a pointer Pred* to the predicate. (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 from take_while_view::begin. (function)

mwah πŸ’‹ β€” source: http://cppreference.com; version/date: 2024.06.10; page: std::ranges...w::sentinel(3).

πŸ“¦ where this page comes from