Compare commits

..

No commits in common. "ee1153c393bdd2d6e68be9e563f18cc52e4ccb5f" and "86930fd8b0fd93e8def5f85c446de84b9e8db483" have entirely different histories.

View File

@ -187,10 +187,8 @@ concept floating_point = is_floating_point_v<type_t>;
template <typename input_t, typename output_t>
constexpr inline void copy(const input_t* start, const input_t* end, output_t* dest_start) {
auto temp = start;
while (temp != end)
*(dest_start++) = *(temp++);
constexpr inline void copy(input_t* start, input_t* end, output_t* dest_start) {
memcpy(start, dest_start, end - start);
}
@ -237,10 +235,13 @@ public:
}
constexpr array() noexcept = default;
constexpr array(const array&) = default;
constexpr array(array&) = default;
constexpr array(array&&) = default;
constexpr array& operator=(array& other) = default;
constexpr array& operator=(array&& other) = default;
constexpr void swap(array<data_t, t_size>& other) noexcept {