IsUniLower.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TYPETRAITS_ISUNILOWER_H_
36 #define _BLAZE_MATH_TYPETRAITS_ISUNILOWER_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
44 #include <blaze/util/EnableIf.h>
45 #include <blaze/util/FalseType.h>
46 
47 
48 namespace blaze {
49 
50 //=================================================================================================
51 //
52 // CLASS DEFINITION
53 //
54 //=================================================================================================
55 
56 //*************************************************************************************************
58 template< typename T > struct IsUniLower;
60 //*************************************************************************************************
61 
62 
63 //*************************************************************************************************
68 template< typename T
69  , typename = void >
70 struct IsUniLowerHelper
71  : public FalseType
72 {};
73 
74 template< typename T > // Type of the operand
75 struct IsUniLowerHelper< T, EnableIf_t< IsExpression_v<T> > >
76  : public IsUniLower< typename T::ResultType >::Type
77 {};
79 //*************************************************************************************************
80 
81 
82 //*************************************************************************************************
112 template< typename T >
114  : public IsUniLowerHelper<T>
115 {};
116 //*************************************************************************************************
117 
118 
119 //*************************************************************************************************
124 template< typename T >
125 struct IsUniLower< const T >
126  : public IsUniLower<T>
127 {};
129 //*************************************************************************************************
130 
131 
132 //*************************************************************************************************
137 template< typename T >
138 struct IsUniLower< volatile T >
139  : public IsUniLower<T>
140 {};
142 //*************************************************************************************************
143 
144 
145 //*************************************************************************************************
150 template< typename T >
151 struct IsUniLower< const volatile T >
152  : public IsUniLower<T>
153 {};
155 //*************************************************************************************************
156 
157 
158 //*************************************************************************************************
171 template< typename T >
173 //*************************************************************************************************
174 
175 } // namespace blaze
176 
177 #endif
BoolConstant< false > FalseType
Type/value traits base class.The FalseType class is used as base class for type traits and value trai...
Definition: FalseType.h:61
Header file for the FalseType type/value trait base class.
typename EnableIf< Condition, T >::Type EnableIf_t
Auxiliary type for the EnableIf class template.The EnableIf_t alias declaration provides a convenient...
Definition: EnableIf.h:138
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Header file for the EnableIf class template.
Compile time check for lower unitriangular matrices.This type trait tests whether or not the given te...
Definition: IsUniLower.h:113
constexpr bool IsUniLower_v
Auxiliary variable template for the IsUniLower type trait.The IsUniLower_v variable template provides...
Definition: IsUniLower.h:172
constexpr bool IsExpression_v
Auxiliary variable template for the IsExpression type trait.The IsExpression_v variable template prov...
Definition: IsExpression.h:131
Header file for the IsExpression type trait class.