Blaze 3.9
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
46namespace blaze {
47
48//=================================================================================================
49//
50// CLASS DEFINITION
51//
52//=================================================================================================
53
54//*************************************************************************************************
86template< typename T >
88 : public FalseType
89{};
90//*************************************************************************************************
91
92
93//*************************************************************************************************
98template< typename T >
99struct IsAdaptor< const T >
100 : public IsAdaptor<T>
101{};
103//*************************************************************************************************
104
105
106//*************************************************************************************************
111template< typename T >
112struct IsAdaptor< volatile T >
113 : public IsAdaptor<T>
114{};
116//*************************************************************************************************
117
118
119//*************************************************************************************************
124template< typename T >
125struct IsAdaptor< const volatile T >
126 : public IsAdaptor<T>
127{};
129//*************************************************************************************************
130
131
132//*************************************************************************************************
145template< typename T >
147//*************************************************************************************************
148
149} // namespace blaze
150
151#endif
Header file for the IntegralConstant class template.
constexpr bool IsAdaptor_v
Auxiliary variable template for the IsAdaptor type trait.
Definition: IsAdaptor.h:146
Generic wrapper for a compile time constant integral value.
Definition: IntegralConstant.h:74
Compile time check for adaptors.
Definition: IsAdaptor.h:89