#pragma once #include template std::array operator+(const std::array & a, const std::array & b) { std::array r; auto out = r.begin(); out = std::copy(a.begin(), a.end(), out); std::copy(b.begin(), b.end(), out); return r; }