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
By following Member function template with the number of parameters depending on an integral template parameter and Variadic templates with exactly n parameters, have got it working with the following code.
template class Vector {
private:
array vals;
public:
template ::type = 0>
Vector(T ...args) : vals{args} {}
};