I want to have a template class that looks something like what I have down below. Then, I want a function in it with a template specialization depending on a CLASS template para
This is called partial template specialisation. It looks like this:
template class FooBase { }; template class Foo : public FooBase<_T,num> { void Func() { printf("Hello world!"); } }; template class Foo<_T,1> : public FooBase<_T,num> { void Func() { printf("Hi!"); } }