35 #ifndef _BLAZE_UTIL_TYPETRAITS_ISSAME_H_
36 #define _BLAZE_UTIL_TYPETRAITS_ISSAME_H_
76 template<
typename A,
typename B >
92 template<
typename T >
119 template<
typename A,
typename B >
124 typedef typename RemoveCV<A>::Type T1;
125 typedef typename RemoveCV<B>::Type T2;
130 enum { value = IsStrictlySame<T1,T2>::value };
131 typedef typename IsStrictlySame<T1,T2>::Type Type;
157 template<
typename A,
typename B >
158 struct IsSame :
public IsSameHelper<A,B>::Type
163 enum { value = IsSameHelper<A,B>::value };
164 typedef typename IsSameHelper<A,B>::Type Type;
Header file for the FalseType type/value trait base class.
Header file for the RemoveCV type trait.
Type relationship analysis.This class tests if the two data types A and B are equal. For this type comparison, the cv-qualifiers of both data types are ignored. If A and B are the same data type (ignoring the cv-qualifiers), then the value member enumeration is set to 1, the nested type definition Type is TrueType, and the class derives from TrueType. Otherwise value is set to 0, Type is FalseType, and the class derives from FalseType.
Definition: IsSame.h:158
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Compile time type relationship analysis.This class tests if the two data types A and B are equal...
Definition: IsSame.h:77
Header file for the SelectType class template.
boost::false_type FalseType
Type/value traits base class.The FalseType class is used as base class for type traits and value trai...
Definition: FalseType.h:61
boost::true_type TrueType
Type traits base class.The TrueType class is used as base class for type traits and value traits that...
Definition: TrueType.h:61
Header file for the TrueType type/value trait base class.