Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
typetraits
IsBand.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_MATH_TYPETRAITS_ISBAND_H_
36
#define _BLAZE_MATH_TYPETRAITS_ISBAND_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <
blaze/math/views/Forward.h
>
44
#include <
blaze/util/IntegralConstant.h
>
45
#include <
blaze/util/Types.h
>
46
47
48
namespace
blaze {
49
50
//=================================================================================================
51
//
52
// CLASS DEFINITION
53
//
54
//=================================================================================================
55
56
//*************************************************************************************************
89
template
<
typename
T >
90
struct
IsBand
91
:
public
FalseType
92
{};
93
//*************************************************************************************************
94
95
96
//*************************************************************************************************
101
template
<
typename
MT,
bool
TF,
bool
DF,
bool
MF,
ptrdiff_t
... CBAs >
102
struct
IsBand
< Band<MT,TF,DF,MF,CBAs...> >
103
:
public
TrueType
104
{};
106
//*************************************************************************************************
107
108
109
//*************************************************************************************************
114
template
<
typename
MT,
bool
TF,
bool
DF,
bool
MF,
ptrdiff_t
... CBAs >
115
struct
IsBand< const Band<MT,TF,DF,MF,CBAs...> >
116
:
public
TrueType
117
{};
119
//*************************************************************************************************
120
121
122
//*************************************************************************************************
127
template
<
typename
MT,
bool
TF,
bool
DF,
bool
MF, ptrdiff_t... CBAs >
128
struct
IsBand
< volatile Band<MT,TF,DF,MF,CBAs...> >
129
:
public
TrueType
130
{};
132
//*************************************************************************************************
133
134
135
//*************************************************************************************************
140
template
<
typename
MT,
bool
TF,
bool
DF,
bool
MF, ptrdiff_t... CBAs >
141
struct
IsBand
< const volatile Band<MT,TF,DF,MF,CBAs...> >
142
:
public
TrueType
143
{};
145
//*************************************************************************************************
146
147
148
//*************************************************************************************************
161
template
<
typename
T >
162
constexpr
bool
IsBand_v
=
IsBand<T>::value
;
163
//*************************************************************************************************
164
165
}
// namespace blaze
166
167
#endif
IntegralConstant.h
Header file for the IntegralConstant class template.
ptrdiff_t
Pointer difference type of the Blaze library.
blaze::IsBand_v
constexpr bool IsBand_v
Auxiliary variable template for the IsBand type trait.
Definition
IsBand.h:162
blaze::FalseType
BoolConstant< false > FalseType
Type/value traits base class.
Definition
IntegralConstant.h:121
blaze::TrueType
BoolConstant< true > TrueType
Type traits base class.
Definition
IntegralConstant.h:132
Forward.h
Header file for all forward declarations for views.
blaze::IsBand
Compile time check for bands.
Definition
IsBand.h:92
Types.h
Header file for basic type definitions.
Generated by
1.18.0