I have have the following code using templates and array dimension as template non-type parameter
template<int n> double f(double c[n]);
...
double c[5];
f<5>(c); // compiles
f(c); // does not compile
should not the compiler to be able to instantiate the second f without explicit template parameter? I am using g++4.1
thanks