IsStatic.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TYPETRAITS_ISSTATIC_H_
36 #define _BLAZE_MATH_TYPETRAITS_ISSTATIC_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 //*************************************************************************************************
84 template< typename T >
85 struct IsStatic
86  : public FalseType
87 {};
88 //*************************************************************************************************
89 
90 
91 //*************************************************************************************************
96 template< typename T >
97 struct IsStatic< const T >
98  : public IsStatic<T>
99 {};
101 //*************************************************************************************************
102 
103 
104 //*************************************************************************************************
109 template< typename T >
110 struct IsStatic< volatile T >
111  : public IsStatic<T>
112 {};
114 //*************************************************************************************************
115 
116 
117 //*************************************************************************************************
122 template< typename T >
123 struct IsStatic< const volatile T >
124  : public IsStatic<T>
125 {};
127 //*************************************************************************************************
128 
129 } // namespace blaze
130 
131 #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 static data types.This type trait tests whether the given data type is a stati...
Definition: IsStatic.h:85
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Header file for the TrueType type/value trait base class.