SyntaxFix
Write A Post
Hire A Developer
Questions
try doing something like
template<class T, int i> class A{ A(){ A(this) } A( A<int, 1>* a){ //do something } A( A<float, 1>* a){ //do something } . . . };