libycxx

function object

std::ranges::cend

Header
<ranges>
Scope
std::ranges

Synopsis

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

Call signatures

cend 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::end(
        possibly-const-range(t)); }
    [[nodiscard]] constexpr auto cend(
        T&& t) noexcept(noexcept(std::const_sentinel<decltype(std::ranges::end(possibly-const-range(t)))>(std::ranges::end(possibly-const-range(t)))));
    (1)