Blaze  3.6
IsPadded.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TYPETRAITS_ISPADDED_H_
36 #define _BLAZE_MATH_TYPETRAITS_ISPADDED_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
44 
45 
46 namespace blaze {
47 
48 //=================================================================================================
49 //
50 // CLASS DEFINITION
51 //
52 //=================================================================================================
53 
54 //*************************************************************************************************
74 template< typename T >
75 struct IsPadded
76  : public FalseType
77 {};
78 //*************************************************************************************************
79 
80 
81 //*************************************************************************************************
86 template< typename T >
87 struct IsPadded< const T >
88  : public IsPadded<T>
89 {};
91 //*************************************************************************************************
92 
93 
94 //*************************************************************************************************
99 template< typename T >
100 struct IsPadded< volatile T >
101  : public IsPadded<T>
102 {};
104 //*************************************************************************************************
105 
106 
107 //*************************************************************************************************
112 template< typename T >
113 struct IsPadded< const volatile T >
114  : public IsPadded<T>
115 {};
117 //*************************************************************************************************
118 
119 
120 //*************************************************************************************************
133 template< typename T >
135 //*************************************************************************************************
136 
137 } // namespace blaze
138 
139 #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 data types with padding.This type trait tests whether the given data type empl...
Definition: IsPadded.h:75
constexpr bool IsPadded_v
Auxiliary variable template for the IsPadded type trait.The IsPadded_v variable template provides a c...
Definition: IsPadded.h:134
Header file for the IntegralConstant class template.