Range algorithms, views, and actions for the Standard Library
copy.hpp File Reference


template<typename I , typename O >
using ranges::copy_result = detail::in_out_result< I, O >


template<typename I , typename S , typename O >
requires input_iterator<I> && sentinel_for<S, I> && weakly_incrementable<O> && indirectly_copyable<I, O>
constexpr copy_result< I, O > ranges::copy (I first, S last, O out)
 function template copy
template<typename Rng , typename O >
requires input_range<Rng> && weakly_incrementable<O> && indirectly_copyable<iterator_t<Rng>, O>
constexpr copy_result< borrowed_iterator_t< Rng >, O > ranges::copy (Rng &&rng, O out)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.