22 #ifndef EDSP_ALGORITHM_CAT_H 23 #define EDSP_ALGORITHM_CAT_H 25 #include <edsp/meta/advance.hpp> 30 namespace edsp {
inline namespace algorithm {
42 template <
typename InputIt,
typename OutputIt>
43 constexpr
void concatenate(InputIt first1, InputIt last1, InputIt first2, InputIt last2, OutputIt d_first) {
44 std::copy(first1, last1, d_first);
45 std::copy(first2, last2, meta::advance(d_first,
std::distance(first1, last1)));
50 #endif // EDSP_ALGORITHM_CAT_H constexpr void concatenate(InputIt first1, InputIt last1, InputIt first2, InputIt last2, OutputIt d_first)
Concatenates the elements defined in the range [firs1, last1) and [first2, last2), and stores the result in another range, beginning at d_first.
Definition: concatenate.hpp:43
constexpr T distance(T x, T y) noexcept
Computes the distance between x and y.
Definition: numeric.hpp:328
Definition: amplifier.hpp:29