IsUpper.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TYPETRAITS_ISUPPER_H_
36 #define _BLAZE_MATH_TYPETRAITS_ISUPPER_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
46 #include <blaze/util/mpl/Or.h>
47 
48 
49 namespace blaze {
50 
51 //=================================================================================================
52 //
53 // CLASS DEFINITION
54 //
55 //=================================================================================================
56 
57 //*************************************************************************************************
87 template< typename T >
88 struct IsUpper : public BoolConstant< Or< IsUniUpper<T>, IsStrictlyUpper<T> >::value >
89 {};
90 //*************************************************************************************************
91 
92 
93 //*************************************************************************************************
98 template< typename T >
99 struct IsUpper< const T > : public IsUpper<T>
100 {};
102 //*************************************************************************************************
103 
104 
105 //*************************************************************************************************
110 template< typename T >
111 struct IsUpper< volatile T > : public IsUpper<T>
112 {};
114 //*************************************************************************************************
115 
116 
117 //*************************************************************************************************
122 template< typename T >
123 struct IsUpper< const volatile T > : public IsUpper<T>
124 {};
126 //*************************************************************************************************
127 
128 } // namespace blaze
129 
130 #endif
Header file for the IsUniUpper type trait.
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:71
Compile time check for upper triangular matrices.This type trait tests whether or not the given templ...
Definition: IsUpper.h:88
Header file for the IsStrictlyUpper type trait.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the Or class template.
Header file for the IntegralConstant class template.