I\'m writing a container storage class template that wraps a private std::array in order to add some functionality to it. The template parametrises the number o
std::array
Don't get what you mean by this:
Variadic arguments don't provide a mechanism to check how many of them there are, so they're right out
template Vector(T... args) { static_assert(sizeof...(args) <= N, "oops"); }
Should work..