For example
template<size_t N>
class A
{
array<int, N> m;
static A const UNIT {1, 1, ...}; // repeated N times,
// but I can't because of currently unspecified N
}
How to initialize a template sized array with the custom value 1?
...in conjunction with templates, I start thinking of using variadic template parameter lists and unpacking. Don't know how to generate these though, using a non type template parameter giving their number.