Hi,
I realized that I wrote not the correct code
Code:
template< class TPA >
public TClass{
template< class TPB >
struct Functor {
void Foo( TPA obj_1 , TPB obj_2 ){
// do someting wotj obj1 and obj2
}
};
};
/// specialization for Functor inside generic TClass< TPA >
template< class TPA >
void TClass< TPA >::Functor< int >::Foo( TPA, int ){
// do something else
}
I tried and I have this
error: invalid explicit specialization before ‘>’ token
error: enclosing class templates are not explicitly specialized
error: no member function ‘operator()’ declared in ‘TClasst<_MyClass>::Mutator< int>::Foo()’