template<typename T1, typename T2>
struct is__same
{
operator bool()
{
return false;
}
};
template<typename T1>
struct is__same<T1, T1>
{
operator bool()
{
return true;
}
};
operator bool() 是运算符重载吗?
你可以在CSDN搜索上搜一搜关于“模板特例化”的资料。
operator bool() 是运算符重载。
在CSDN搜索模板特例化