IsUniform.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TYPETRAITS_ISUNIFORM_H_
36 #define _BLAZE_MATH_TYPETRAITS_ISUNIFORM_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
43 #include <blaze/util/FalseType.h>
44 #include <blaze/util/TrueType.h>
45 
46 
47 namespace blaze {
48 
49 //=================================================================================================
50 //
51 // CLASS DEFINITION
52 //
53 //=================================================================================================
54 
55 //*************************************************************************************************
66 template< typename T >
67 struct IsUniform
68  : public FalseType
69 {};
70 //*************************************************************************************************
71 
72 
73 //*************************************************************************************************
78 template< typename T >
79 struct IsUniform< const T >
80  : public IsUniform<T>
81 {};
83 //*************************************************************************************************
84 
85 
86 //*************************************************************************************************
91 template< typename T >
92 struct IsUniform< volatile T >
93  : public IsUniform<T>
94 {};
96 //*************************************************************************************************
97 
98 
99 //*************************************************************************************************
104 template< typename T >
105 struct IsUniform< const volatile T >
106  : public IsUniform<T>
107 {};
109 //*************************************************************************************************
110 
111 } // namespace blaze
112 
113 #endif
Header file for the FalseType type/value trait base class.
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:71
Compile time check for uniform vectors and matrices.This type trait tests whether or not the given te...
Definition: IsUniform.h:67
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the TrueType type/value trait base class.