|
inlineconstexpr |
#include <eve/module/algo/algo/copy.hpp>
Configurable Callable Object performing backward copy between two ranges' or between a range and an iterator.
By default, eve::algo::copy_backward will be unrolled by a factor of 4, align memory accesses and perform conversions if needed.
std::memmove
.Alternative Header
r1
to r2
.get<0>(r)
to get<1>(r)
.The elements are copied in reverse order (the last element is copied first), but their relative order is preserved. Due to the specificities of the SIMD algorithm, the second can not be an iterator. Use the zip based overload to do so.
Parameters
r1
: The range of elements or an iterator to the beginning of the elements to copy fromr2
: A range of the destination elementsr
: A eve::algo::zipped_range_pair of ranges and/or iterators.