Blaze  3.6
IsShrinkable.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TYPETRAITS_ISSHRINKABLE_H_
36 #define _BLAZE_MATH_TYPETRAITS_ISSHRINKABLE_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
44 
45 
46 namespace blaze {
47 
48 //=================================================================================================
49 //
50 // CLASS DEFINITION
51 //
52 //=================================================================================================
53 
54 //*************************************************************************************************
73 template< typename T >
75  : public FalseType
76 {};
77 //*************************************************************************************************
78 
79 
80 //*************************************************************************************************
85 template< typename T >
86 struct IsShrinkable< const T >
87  : public IsShrinkable<T>
88 {};
90 //*************************************************************************************************
91 
92 
93 //*************************************************************************************************
98 template< typename T >
99 struct IsShrinkable< volatile T >
100  : public IsShrinkable<T>
101 {};
103 //*************************************************************************************************
104 
105 
106 //*************************************************************************************************
111 template< typename T >
112 struct IsShrinkable< const volatile T >
113  : public IsShrinkable<T>
114 {};
116 //*************************************************************************************************
117 
118 
119 //*************************************************************************************************
132 template< typename T >
134 //*************************************************************************************************
135 
136 } // namespace blaze
137 
138 #endif
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:72
constexpr bool IsShrinkable_v
Auxiliary variable template for the IsShrinkable type trait.The IsShrinkable_v variable template prov...
Definition: IsShrinkable.h:133
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Compile time check for shrinkable data types.This type trait tests whether the given data type is a s...
Definition: IsShrinkable.h:74
Header file for the IntegralConstant class template.