libycxx

function object

std::ranges::move_backward

Scope
std::ranges

Synopsis

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

Call signatures

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

  1. template<std::ranges::bidirectional_range R, std::bidirectional_iterator I>
      requires std::indirectly_movable<iterator_t<R>, I>
    constexpr std::ranges::move_backward_result<borrowed_iterator_t<R>, I> move_backward(
        R&& r,
        I result);
    (1)
  2. template<
        std::bidirectional_iterator I1,
        std::sentinel_for<I1> S1,
        std::bidirectional_iterator I2>
      requires std::indirectly_movable<I1, I2>
    constexpr std::ranges::move_backward_result<I1, I2> move_backward(
        I1 first,
        S1 last,
        I2 result);
    (2)