libycxx

function object

std::ranges::iter_move

Scope
std::ranges

Synopsis

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

Call signatures

iter_move 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 adl-iter-move<T> || requires(T&& t) { *static_cast<T&&>(t); }
    [[nodiscard]] constexpr result<T>::type iter_move(T&& t) noexcept(iter-move-noexcept<T>());
    (1)