
28 Jan
2008
28 Jan
'08
3:20 p.m.
hi,
i have a template function, the arguments of which i wish to have depend on a non-type int template argument:
template<int n>
double f<n>( double arg0, double arg1, ..., double argn ) // ... is not the variadic notation for var number of args
{
// for(int i=0; i