function object
std::ranges::iter_move
- Header
<iterator>- Draft
- [iterator.cust.move]
- Scope
std::ranges- cppreference
- std::ranges::iter_move
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>());