35 #ifndef _BLAZE_MATH_TYPETRAITS_ISIDENTITY_H_
36 #define _BLAZE_MATH_TYPETRAITS_ISIDENTITY_H_
91 template<
typename T >
92 struct IsIdentity :
public If< And< IsUniLower<T>, IsUniUpper<T> >, TrueType, FalseType >::Type
110 template<
typename T >
116 typedef typename IsIdentity<T>::Type Type;
128 template<
typename T >
129 struct IsIdentity< volatile T > :
public IsIdentity<T>::Type
133 enum { value = IsIdentity<T>::value };
134 typedef typename IsIdentity<T>::Type Type;
146 template<
typename T >
147 struct IsIdentity< const volatile T > :
public IsIdentity<T>::Type
151 enum { value = IsIdentity<T>::value };
152 typedef typename IsIdentity<T>::Type Type;
Header file for the IsUniUpper type trait.
Compile time type selection.The If class template selects one of the two given types T2 and T3 depend...
Definition: If.h:112
Header file for the FalseType type/value trait base class.
Header file for the And class template.
Header file for the IsUniLower type trait.
Compile time check for upper unitriangular matrices.This type trait tests whether or not the given te...
Definition: IsUniUpper.h:85
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the If class template.
Compile time check for lower unitriangular matrices.This type trait tests whether or not the given te...
Definition: IsUniLower.h:85
Compile time check for identity matrices.This type trait tests whether or not the given template para...
Definition: IsIdentity.h:92
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.