fix/zero_length_array #10

Merged
an.tsouchlos merged 2 commits from fix/zero_length_array into master 2022-03-18 00:24:54 +00:00
Showing only changes of commit 036b17fca9 - Show all commits

View File

@ -187,7 +187,8 @@ concept floating_point = is_floating_point_v<type_t>;
template <typename input_t, typename output_t> template <typename input_t, typename output_t>
constexpr inline void copy(const input_t* start, const input_t* end, output_t* dest_start) { constexpr inline void copy(const input_t* start, const input_t* end,
output_t* dest_start) {
auto temp = start; auto temp = start;
while (temp != end) while (temp != end)
*(dest_start++) = *(temp++); *(dest_start++) = *(temp++);