IsInitializer.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TYPETRAITS_ISINITIALIZER_H_
36 #define _BLAZE_MATH_TYPETRAITS_ISINITIALIZER_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 //*************************************************************************************************
81 template< typename T >
83  : public FalseType
84 {};
85 //*************************************************************************************************
86 
87 
88 //*************************************************************************************************
93 template< typename T >
94 struct IsInitializer< const T >
95  : public IsInitializer<T>
96 {};
98 //*************************************************************************************************
99 
100 
101 //*************************************************************************************************
106 template< typename T >
107 struct IsInitializer< volatile T >
108  : public IsInitializer<T>
109 {};
111 //*************************************************************************************************
112 
113 
114 //*************************************************************************************************
119 template< typename T >
120 struct IsInitializer< const volatile T >
121  : public IsInitializer<T>
122 {};
124 //*************************************************************************************************
125 
126 
127 //*************************************************************************************************
140 template< typename T >
142 //*************************************************************************************************
143 
144 } // namespace blaze
145 
146 #endif
constexpr bool IsInitializer_v
Auxiliary variable template for the IsInitializer type trait.The IsInitializer_v variable template pr...
Definition: IsInitializer.h:141
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
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Compile time check for custom data types.This type trait tests whether the given data type represents...
Definition: IsInitializer.h:82
Header file for the TrueType type/value trait base class.