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
You could additionally generate a pack of the right size via some template specialization tricks:
template >
class Vector;
template
class Vector>
{
private:
std::array vals;
template
using double_ = double;
public:
Vector(double_... vals)
{
...
}
};
That is a non-template constructor which takes N
double
s.