Blaze 3.9
IsRow.h
Go to the documentation of this file.
1//=================================================================================================
33//=================================================================================================
34
35#ifndef _BLAZE_MATH_TYPETRAITS_ISROW_H_
36#define _BLAZE_MATH_TYPETRAITS_ISROW_H_
37
38
39//*************************************************************************************************
40// Includes
41//*************************************************************************************************
42
45
46
47namespace blaze {
48
49//=================================================================================================
50//
51// CLASS DEFINITION
52//
53//=================================================================================================
54
55//*************************************************************************************************
88template< typename T >
89struct IsRow
90 : public FalseType
91{};
92//*************************************************************************************************
93
94
95//*************************************************************************************************
100template< typename MT, bool SO, bool DF, bool SF, size_t... CRAs >
101struct IsRow< Row<MT,SO,DF,SF,CRAs...> >
102 : public TrueType
103{};
105//*************************************************************************************************
106
107
108//*************************************************************************************************
113template< typename MT, bool SO, bool DF, bool SF, size_t... CRAs >
114struct IsRow< const Row<MT,SO,DF,SF,CRAs...> >
115 : public TrueType
116{};
118//*************************************************************************************************
119
120
121//*************************************************************************************************
126template< typename MT, bool SO, bool DF, bool SF, size_t... CRAs >
127struct IsRow< volatile Row<MT,SO,DF,SF,CRAs...> >
128 : public TrueType
129{};
131//*************************************************************************************************
132
133
134//*************************************************************************************************
139template< typename MT, bool SO, bool DF, bool SF, size_t... CRAs >
140struct IsRow< const volatile Row<MT,SO,DF,SF,CRAs...> >
141 : public TrueType
142{};
144//*************************************************************************************************
145
146
147//*************************************************************************************************
160template< typename T >
161constexpr bool IsRow_v = IsRow<T>::value;
162//*************************************************************************************************
163
164} // namespace blaze
165
166#endif
Header file for the IntegralConstant class template.
constexpr bool IsRow_v
Auxiliary variable template for the IsRow type trait.
Definition: IsRow.h:161
BoolConstant< true > TrueType
Type traits base class.
Definition: IntegralConstant.h:132
Header file for all forward declarations for views.
Generic wrapper for a compile time constant integral value.
Definition: IntegralConstant.h:74
Compile time check for rows.
Definition: IsRow.h:91