S
shortymike007
#include <iostream>
template <int dv[3]>
class A {};
template <A &a>
class B {};
extern int vec[3] = {1,0,0};
extern A< vec > *a;
void main()
{
B<a> b;
}
I'm getting some errors about specialization that I don't understand. Any help in the right direction would be appreciated. Thanks
template <int dv[3]>
class A {};
template <A &a>
class B {};
extern int vec[3] = {1,0,0};
extern A< vec > *a;
void main()
{
B<a> b;
}
I'm getting some errors about specialization that I don't understand. Any help in the right direction would be appreciated. Thanks