libycxx

function object

std::ranges::uninitialized_move_n

Header
<memory>
Scope
std::ranges

Synopsis

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

Call signatures

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

  1. template<
        std::input_iterator I,
        nothrow_forward_iterator O,
        nothrow-sentinel-for<O> S>
      requires std::constructible_from<iter_value_t<O>, std::iter_rvalue_reference_t<I>>
    static constexpr std::ranges::uninitialized_move_n_result<I, O> uninitialized_move_n(
        I ifirst,
        iter_difference_t<I> n,
        O ofirst,
        S olast);
    (1)
  2. template<
        execution_policy ExecutionPolicy,
        std::random_access_iterator I,
        nothrow_random_access_iterator O,
        nothrow-sized-sentinel-for<O> S>
      requires std::constructible_from<iter_value_t<O>, std::iter_rvalue_reference_t<I>>
    static std::ranges::uninitialized_move_n_result<I, O> uninitialized_move_n(
        ExecutionPolicy&&,
        I ifirst,
        iter_difference_t<I> n,
        O ofirst,
        S olast) noexcept;
    (2)