|
|
@ -19,6 +19,14 @@ namespace gp{ |
|
|
|
: ary{gp::forward(v...)} |
|
|
|
{} |
|
|
|
|
|
|
|
template<> |
|
|
|
array<T[sz]>(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) |
|
|
|