Blaze  3.6
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 
44 
45 
46 namespace blaze {
47 
48 //=================================================================================================
49 //
50 // CLASS DEFINITION
51 //
52 //=================================================================================================
53 
54 //*************************************************************************************************
83 template< typename T >
84 struct IsStatic
85  : public FalseType
86 {};
87 //*************************************************************************************************
88 
89 
90 //*************************************************************************************************
95 template< typename T >
96 struct IsStatic< const T >
97  : public IsStatic<T>
98 {};
100 //*************************************************************************************************
101 
102 
103 //*************************************************************************************************
108 template< typename T >
109 struct IsStatic< volatile T >
110  : public IsStatic<T>
111 {};
113 //*************************************************************************************************
114 
115 
116 //*************************************************************************************************
121 template< typename T >
122 struct IsStatic< const volatile T >
123  : public IsStatic<T>
124 {};
126 //*************************************************************************************************
127 
128 
129 //*************************************************************************************************
142 template< typename T >
144 //*************************************************************************************************
145 
146 } // namespace blaze
147 
148 #endif
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:72
Compile time check for static data types.This type trait tests whether the given data type is a stati...
Definition: IsStatic.h:84
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
constexpr bool IsStatic_v
Auxiliary variable template for the IsStatic type trait.The IsStatic_v variable template provides a c...
Definition: IsStatic.h:143
Header file for the IntegralConstant class template.