I can't figure out why this won't compile:
any ideas?Code:template <class T, T init = T()> class test { }; int main(void) { test<int, 1024> a; /* ok */ test<int> b; /* ok */ test<int*, 0> c; /* no */ test<int*> d; /* ok / no (depends on the compiler) */ }