diff --git a/include/gp/array.hpp b/include/gp/array.hpp index f0b1e19..8d56c2b 100644 --- a/include/gp/array.hpp +++ b/include/gp/array.hpp @@ -19,6 +19,14 @@ namespace gp{ : ary{gp::forward(v...)} {} + template<> + array(T (&& oth)[sz]) { + gp::move_uninitialized( + gp::nameless_range(oth, oth+sz), + gp::nameless_range(*this) + ); + } + constexpr T& operator[] (size_t off) { if constexpr (gp_config::has_buffer_bounds)