Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
typetraits
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
43
#include <
blaze/util/IntegralConstant.h
>
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 >
134
constexpr
bool
IsPadded_v
=
IsPadded<T>::value
;
135
//*************************************************************************************************
136
137
}
// namespace blaze
138
139
#endif
IntegralConstant.h
Header file for the IntegralConstant class template.
blaze::IsPadded_v
constexpr bool IsPadded_v
Auxiliary variable template for the IsPadded type trait.
Definition
IsPadded.h:134
blaze::FalseType
BoolConstant< false > FalseType
Type/value traits base class.
Definition
IntegralConstant.h:121
blaze::IsPadded
Compile time check for data types with padding.
Definition
IsPadded.h:77
Generated by
1.18.0