Blaze  3.6
IsAligned.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TYPETRAITS_ISALIGNED_H_
36 #define _BLAZE_MATH_TYPETRAITS_ISALIGNED_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 IsAligned
87  : public FalseType
88 {};
89 //*************************************************************************************************
90 
91 
92 //*************************************************************************************************
97 template< typename T >
98 struct IsAligned< const T >
99  : public IsAligned<T>
100 {};
102 //*************************************************************************************************
103 
104 
105 //*************************************************************************************************
110 template< typename T >
111 struct IsAligned< volatile T >
112  : public IsAligned<T>
113 {};
115 //*************************************************************************************************
116 
117 
118 //*************************************************************************************************
123 template< typename T >
124 struct IsAligned< const volatile T >
125  : public IsAligned<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
Compile time check for the alignment of data types.This type trait tests whether the given data type ...
Definition: IsAligned.h:86
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Header file for the IntegralConstant class template.
constexpr bool IsAligned_v
Auxiliary variable template for the IsAligned type trait.The IsAligned_v variable template provides a...
Definition: IsAligned.h:145