HI all
I am having trouble in specializing the class below
I would like tomake specialization for Functor< TPB >.Code:template< class TPA > public TClass{ template< class TPB > struct Functor { void Foo(){ // do someting } }; };
How to do that? I am trying the code blow but it doesn' work
ThanksCode:// specialization for Functor inside generic TClass< TPA > template< class TPA > void TClass< TPA >::Functor< int >::Foo(){ // do something else }
Mn