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 
45 #include <blaze/util/mpl/Or.h>
46 
47 
48 namespace blaze {
49 
50 //=================================================================================================
51 //
52 // CLASS DEFINITION
53 //
54 //=================================================================================================
55 
56 //*************************************************************************************************
86 template< typename T >
87 struct IsUpper
88  : public Or< IsUniUpper<T>, IsStrictlyUpper<T> >
89 {};
90 //*************************************************************************************************
91 
92 
93 //*************************************************************************************************
98 template< typename T >
99 struct IsUpper< const T >
100  : public IsUpper<T>
101 {};
103 //*************************************************************************************************
104 
105 
106 //*************************************************************************************************
111 template< typename T >
112 struct IsUpper< volatile T >
113  : public IsUpper<T>
114 {};
116 //*************************************************************************************************
117 
118 
119 //*************************************************************************************************
124 template< typename T >
125 struct IsUpper< const volatile T >
126  : public IsUpper<T>
127 {};
129 //*************************************************************************************************
130 
131 } // namespace blaze
132 
133 #endif
Header file for the IsUniUpper type trait.
Compile time check for upper triangular matrices.This type trait tests whether or not the given templ...
Definition: IsUpper.h:87
Header file for the IsStrictlyUpper type trait.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Header file for the Or class template.
Compile time logical &#39;or&#39; evaluation.The Or alias declaration performs at compile time a logical &#39;or&#39;...
Definition: Or.h:76