libycxx

function object

std::ranges::end

Header
<ranges>
Scope
std::ranges

Synopsis

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

Call signatures

end 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> && (std::is_bounded_array_v<std::remove_reference_t<T>> || member<T> || adl<T>)
    [[nodiscard]] constexpr auto end(T&& t) noexcept(nothrow<T>());
    (1)