示例

template <class T>  class MyClass {
public:
int fnc(T type);
int fnc(int b);
};

解决方案
不要使用可能在运行时引起冲突的模板参数重载函数。

template <class T>  class MyClass {
public:
int fncType(T type);
int fncInt(int b);
};