libycxx

function object

std::ranges::crend

Header
<ranges>
Scope
std::ranges

Synopsis

inline constexpr /* implementation-defined */ crend = {};

Call signatures

crend is a function object; these are its call operators as libycxx declares them, written as the functions the draft declares.

  1. template<class T>
      requires maybe-borrowed<T> && requires(T& t) { std::ranges::rend(
        possibly-const-range(t)); }
    [[nodiscard]] constexpr auto crend(
        T&& t) noexcept(noexcept(std::const_sentinel<decltype(std::ranges::rend(possibly-const-range(t)))>(std::ranges::rend(possibly-const-range(t)))));
    (1)