23 template <
typename S,
typename T>
25 std::copy(first, last, target);
34 template <
typename S,
typename T>
36 std::copy_n(source, n, target);
45 template <
typename S,
typename T>
47 std::fill(first, last, value);
56 template <
typename S,
typename T>
58 std::fill_n(first, n, value);
void direct_copy(const S *first, const S *last, T *target)
Performs a direct memory copy.
Definition: memory.hpp:24
Root namespace for the ETL library.
Definition: adapter.hpp:15
void direct_fill(E &&mat, V value)
Fill the given ETL value class with the given value.
Definition: direct_fill.hpp:25
void direct_copy_n(const S *source, T *target, size_t n)
Performs a direct memory copy.
Definition: memory.hpp:35
void direct_fill_n(S *first, size_t n, T value)
Fills the given memory with the given value.
Definition: memory.hpp:57