I have the following code which could not be complied.
using namespace std; void f(int); template void array_ini_1d(T1 (&x)[
template void f(T* a) { /* add your code here */ } int main() { int a[10]; f(a); return 0; }