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

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

✨ NAME ✨

std::ranges::transform_view::sentinel::sentinel β€” std::ranges::transform_view::sentinel::sentinel

This is the std::ranges...el::sentinel(3) page from the C++ Standard Libary manual, bestie 🫢

πŸ¦‹ Synopsis πŸ¦‹

          /*sentinel*/() = default;
       (1) (since C++20)
          constexpr explicit /*sentinel*/( ranges::sentinel_t<Base> end );
       (2) (since C++20)
          constexpr /*sentinel*/( /*sentinel*/<!Const> i )

            requires Const &&
       (3) (since C++20)

              std::convertible_to<ranges::sentinel_t<V>,
          ranges::sentinel_t<Base>>;

Okay so the whole vibe here is: it constructs a sentinel ✨

  1. Default constructor. Value-initializes the underlying sentinel.
  2. Initializes the underlying sentinel with end.
  3. Conversion from /*sentinel*/<false> to /*sentinel*/<true>. Move constructs corresponding members.

πŸ’… Parameters πŸ’…

  • end β€” a sentinel representing the end of (possibly const-qualified) V
  • i β€” a /*sentinel*/<false>

πŸŽ€ Example πŸŽ€

This section is incomplete Reason: no example

⭐ Category ⭐

Category:

  • Todo no example

From http://cppreference.com β€” date/version 2024.06.10 β€” page std::ranges...el::sentinel(3) πŸ’–

πŸ“¦ where this page comes from