template<class T, class U>
struct IsSameType
{
enum {result=false};
};
template<class T>
struct IsSameType<T, T>
{
enum {result=true};
};
转载于:https://my.oschina.net/u/221120/blog/850183
template<class T, class U>
struct IsSameType
{
enum {result=false};
};
template<class T>
struct IsSameType<T, T>
{
enum {result=true};
};
转载于:https://my.oschina.net/u/221120/blog/850183