Blaze 3.9
Loading...
Searching...
No Matches
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
46namespace blaze {
47
48//=================================================================================================
49//
50// CLASS DEFINITION
51//
52//=================================================================================================
53
54//*************************************************************************************************
85template< typename T >
87 : public FalseType
88{};
89//*************************************************************************************************
90
91
92//*************************************************************************************************
97template< typename T >
98struct IsAligned< const T >
99 : public IsAligned<T>
100{};
102//*************************************************************************************************
103
104
105//*************************************************************************************************
110template< typename T >
111struct IsAligned< volatile T >
112 : public IsAligned<T>
113{};
115//*************************************************************************************************
116
117
118//*************************************************************************************************
123template< typename T >
124struct IsAligned< const volatile T >
125 : public IsAligned<T>
126{};
128//*************************************************************************************************
129
130
131//*************************************************************************************************
144template< typename T >
146//*************************************************************************************************
147
148} // namespace blaze
149
150#endif
Header file for the IntegralConstant class template.
constexpr bool IsAligned_v
Auxiliary variable template for the IsAligned type trait.
Definition IsAligned.h:145
BoolConstant< false > FalseType
Type/value traits base class.
Definition IntegralConstant.h:121
Compile time check for the alignment of data types.
Definition IsAligned.h:88