Here i have a template class:
template <class T,int N>
class A{
private:
T q;
public:
int show();
};
and i want to redefine func "show" different for class int, what do i do? in my thought it's like this:
template<int T,int N>
int A<int,N>::show(){
return int(q/100);
}
how should i do it right? There are alot of examples for only one template argument,but how i do define it for two or more?