I have a non-type parameter template class in some header file:
template <int N1, int N2>
class A;
I want to explicitly instantiate some classes in ranges N1 = [0...K1], N2 = [0...K2], but this can result in many permutations:
template A<0,0>;
template A<0,1>;
template A<1,0>;
//...
Given a proper arrangement with a source file and header, will this compile to a static library, and is it possible to generalize the permutations?