Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
typetraits
IsColumn.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_MATH_TYPETRAITS_ISCOLUMN_H_
36
#define _BLAZE_MATH_TYPETRAITS_ISCOLUMN_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <
blaze/math/views/Forward.h
>
44
#include <
blaze/util/IntegralConstant.h
>
45
46
47
namespace
blaze {
48
49
//=================================================================================================
50
//
51
// CLASS DEFINITION
52
//
53
//=================================================================================================
54
55
//*************************************************************************************************
88
template
<
typename
T >
89
struct
IsColumn
90
:
public
FalseType
91
{};
92
//*************************************************************************************************
93
94
95
//*************************************************************************************************
100
template
<
typename
MT,
bool
SO,
bool
DF,
bool
SF,
size_t
... CCAs >
101
struct
IsColumn
< Column<MT,SO,DF,SF,CCAs...> >
102
:
public
TrueType
103
{};
105
//*************************************************************************************************
106
107
108
//*************************************************************************************************
113
template
<
typename
MT,
bool
SO,
bool
DF,
bool
SF,
size_t
... CCAs >
114
struct
IsColumn< const Column<MT,SO,DF,SF,CCAs...> >
115
:
public
TrueType
116
{};
118
//*************************************************************************************************
119
120
121
//*************************************************************************************************
126
template
<
typename
MT,
bool
SO,
bool
DF,
bool
SF,
size_t
... CCAs >
127
struct
IsColumn
< volatile Column<MT,SO,DF,SF,CCAs...> >
128
:
public
TrueType
129
{};
131
//*************************************************************************************************
132
133
134
//*************************************************************************************************
139
template
<
typename
MT,
bool
SO,
bool
DF,
bool
SF,
size_t
... CCAs >
140
struct
IsColumn
< const volatile Column<MT,SO,DF,SF,CCAs...> >
141
:
public
TrueType
142
{};
144
//*************************************************************************************************
145
146
147
//*************************************************************************************************
160
template
<
typename
T >
161
constexpr
bool
IsColumn_v
=
IsColumn<T>::value
;
162
//*************************************************************************************************
163
164
}
// namespace blaze
165
166
#endif
IntegralConstant.h
Header file for the IntegralConstant class template.
blaze::IsColumn_v
constexpr bool IsColumn_v
Auxiliary variable template for the IsColumn type trait.
Definition
IsColumn.h:161
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::IsColumn
Compile time check for columns.
Definition
IsColumn.h:91
Generated by
1.18.0