Say I have a template class, with a member template as the following:
Is it possible to have a specialization for f(T2 const&) withot specifying T?Code:template <typename T> class CLASS{ template <typename T2> void f(T2 const&); };
I mean,can I define a special treatment for T2=int no matter what T stands for?




Reply With Quote