Blaze  3.6
IsAdaptor.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TYPETRAITS_ISADAPTOR_H_
36 #define _BLAZE_MATH_TYPETRAITS_ISADAPTOR_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
44 
45 
46 namespace blaze {
47 
48 //=================================================================================================
49 //
50 // CLASS DEFINITION
51 //
52 //=================================================================================================
53 
54 //*************************************************************************************************
86 template< typename T >
87 struct IsAdaptor
88  : public FalseType
89 {};
90 //*************************************************************************************************
91 
92 
93 //*************************************************************************************************
98 template< typename T >
99 struct IsAdaptor< const T >
100  : public IsAdaptor<T>
101 {};
103 //*************************************************************************************************
104 
105 
106 //*************************************************************************************************
111 template< typename T >
112 struct IsAdaptor< volatile T >
113  : public IsAdaptor<T>
114 {};
116 //*************************************************************************************************
117 
118 
119 //*************************************************************************************************
124 template< typename T >
125 struct IsAdaptor< const volatile T >
126  : public IsAdaptor<T>
127 {};
129 //*************************************************************************************************
130 
131 
132 //*************************************************************************************************
145 template< typename T >
147 //*************************************************************************************************
148 
149 } // namespace blaze
150 
151 #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 adaptors.This type trait tests whether the given template parameter is an adap...
Definition: IsAdaptor.h:87
constexpr bool IsAdaptor_v
Auxiliary variable template for the IsAdaptor type trait.The IsAdaptor_v variable template provides a...
Definition: IsAdaptor.h:146
Header file for the IntegralConstant class template.