Hi guy,

I have any problem for using template class. I would like to define
"int" for using in template class only but I still create instance of
template class by "double". How to i fix this problem?

template <typename T1> 
class MyClass<T1*> { 
... 
}; 

template <>
class MyClass<int> {
...
};

Best regards,
Siripol N.



Reply via email to