Blaze  3.6
IsCustom.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TYPETRAITS_ISCUSTOM_H_
36 #define _BLAZE_MATH_TYPETRAITS_ISCUSTOM_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
44 
45 
46 namespace blaze {
47 
48 //=================================================================================================
49 //
50 // CLASS DEFINITION
51 //
52 //=================================================================================================
53 
54 //*************************************************************************************************
85 template< typename T >
86 struct IsCustom
87  : public FalseType
88 {};
89 //*************************************************************************************************
90 
91 
92 //*************************************************************************************************
97 template< typename T >
98 struct IsCustom< const T >
99  : public IsCustom<T>
100 {};
102 //*************************************************************************************************
103 
104 
105 //*************************************************************************************************
110 template< typename T >
111 struct IsCustom< volatile T >
112  : public IsCustom<T>
113 {};
115 //*************************************************************************************************
116 
117 
118 //*************************************************************************************************
123 template< typename T >
124 struct IsCustom< const volatile T >
125  : public IsCustom<T>
126 {};
128 //*************************************************************************************************
129 
130 
131 //*************************************************************************************************
144 template< typename T >
146 //*************************************************************************************************
147 
148 } // namespace blaze
149 
150 #endif
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:72
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 is a custo...
Definition: IsCustom.h:86
constexpr bool IsCustom_v
Auxiliary variable template for the IsCustom type trait.The IsCustom_v variable template provides a c...
Definition: IsCustom.h:145
Header file for the IntegralConstant class template.