Blaze 3.9
IsSubmatrix.h
Go to the documentation of this file.
1//=================================================================================================
33//=================================================================================================
34
35#ifndef _BLAZE_MATH_TYPETRAITS_ISSUBMATRIX_H_
36#define _BLAZE_MATH_TYPETRAITS_ISSUBMATRIX_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 >
90 : public FalseType
91{};
92//*************************************************************************************************
93
94
95//*************************************************************************************************
100template< typename MT, AlignmentFlag AF, bool SO, bool DF, size_t... CSAs >
101struct IsSubmatrix< Submatrix<MT,AF,SO,DF,CSAs...> >
102 : public TrueType
103{};
105//*************************************************************************************************
106
107
108//*************************************************************************************************
113template< typename MT, AlignmentFlag AF, bool SO, bool DF, size_t... CSAs >
114struct IsSubmatrix< const Submatrix<MT,AF,SO,DF,CSAs...> >
115 : public TrueType
116{};
118//*************************************************************************************************
119
120
121//*************************************************************************************************
126template< typename MT, AlignmentFlag AF, bool SO, bool DF, size_t... CSAs >
127struct IsSubmatrix< volatile Submatrix<MT,AF,SO,DF,CSAs...> >
128 : public TrueType
129{};
131//*************************************************************************************************
132
133
134//*************************************************************************************************
139template< typename MT, AlignmentFlag AF, bool SO, bool DF, size_t... CSAs >
140struct IsSubmatrix< const volatile Submatrix<MT,AF,SO,DF,CSAs...> >
141 : public TrueType
142{};
144//*************************************************************************************************
145
146
147//*************************************************************************************************
160template< typename T >
162//*************************************************************************************************
163
164} // namespace blaze
165
166#endif
Header file for the IntegralConstant class template.
constexpr bool IsSubmatrix_v
Auxiliary variable template for the IsSubmatrix type trait.
Definition: IsSubmatrix.h:161
AlignmentFlag
Alignment flag for (un-)aligned vectors and matrices.
Definition: AlignmentFlag.h:63
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 submatrices.
Definition: IsSubmatrix.h:91