I was wondering if its possible to make the following answer more generic, in the sense that the type of the array be templated instead of just unsigned:
I\'ve enclosed
I don't think the expression like 'template ' is a valid usage of C++11 variadic templates.
It can be of two forms as I understand:
template
: variable number of generic type parameters template
: variable number of integer(non-type) parametersRefer to this wikipedia article for variadic templates.