template class foo { public: void regularfunc(T blah) {} template void bar(T blah) {} }