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 
44 #include <blaze/util/mpl/And.h>
45 #include <blaze/util/mpl/Not.h>
47 
48 
49 namespace blaze {
50 
51 //=================================================================================================
52 //
53 // CLASS DEFINITION
54 //
55 //=================================================================================================
56 
57 //*************************************************************************************************
69 template< typename T >
71  : public And< IsBaseOf<Transformation,T>, Not< IsBaseOf<T,Transformation> > >
72 {};
73 //*************************************************************************************************
74 
75 } // namespace blaze
76 
77 #endif
Header file for the And class template.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Header file for the Transformation base class.
Header file for the Not class template.
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:70
Compile time logical &#39;and&#39; evaluation.The And alias declaration performs at compile time a logical &#39;a...
Definition: And.h:76
Header file for the IsBaseOf type trait.