IsTransformation.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TYPETRAITS_ISTRANSFORMATION_H_
36 #define _BLAZE_MATH_TYPETRAITS_ISTRANSFORMATION_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
46 
47 
48 namespace blaze {
49 
50 //=================================================================================================
51 //
52 // CLASS DEFINITION
53 //
54 //=================================================================================================
55 
56 //*************************************************************************************************
68 template< typename T >
70  : public BoolConstant< IsBaseOf_v<Transformation,T> && !IsBaseOf_v<T,Transformation> >
71 {};
72 //*************************************************************************************************
73 
74 
75 //*************************************************************************************************
88 template< typename T >
90 //*************************************************************************************************
91 
92 } // namespace blaze
93 
94 #endif
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:71
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Header file for the Transformation base class.
Compile time check whether the given type is a transformation expression template.This type trait class tests whether the given type Type is a transformation expression template (e.g. a transpose operation). In order to qualify as a valid transformation expression template, the given type has to derive (publicly or privately) from the Transformation base class. In case the given type is a valid transformation expression template, the value member constant is set to true, the nested type definition Type is TrueType, and the class derives from TrueType. Otherwise value is set to false, Type is FalseType, and the class derives from FalseType.
Definition: IsTransformation.h:69
constexpr bool IsTransformation_v
Auxiliary variable template for the IsTransformation type trait.The IsTransformation_v variable templ...
Definition: IsTransformation.h:89
Header file for the IntegralConstant class template.
Header file for the IsBaseOf type trait.