template class myClass { template void myFunction(); }; template void myClass::myFunction() {} //
You are looking for:
template <int N> template <typename T> void myClass<N>::myFunction() {}
You need one template for the class template and one for the member function template.
template
template<int N> template<typename T> void myClass<N>::myFunction() {}