Blaze  3.6
IsColumns.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TYPETRAITS_ISCOLUMNS_H_
36 #define _BLAZE_MATH_TYPETRAITS_ISCOLUMNS_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
45 
46 
47 namespace blaze {
48 
49 //=================================================================================================
50 //
51 // CLASS DEFINITION
52 //
53 //=================================================================================================
54 
55 //*************************************************************************************************
88 template< typename T >
89 struct IsColumns
90  : public FalseType
91 {};
92 //*************************************************************************************************
93 
94 
95 //*************************************************************************************************
100 template< typename MT, bool SO, bool DF, bool SF, typename... CRAs >
101 struct IsColumns< Columns<MT,SO,DF,SF,CRAs...> >
102  : public TrueType
103 {};
105 //*************************************************************************************************
106 
107 
108 //*************************************************************************************************
113 template< typename MT, bool SO, bool DF, bool SF, typename... CRAs >
114 struct IsColumns< const Columns<MT,SO,DF,SF,CRAs...> >
115  : public TrueType
116 {};
118 //*************************************************************************************************
119 
120 
121 //*************************************************************************************************
126 template< typename MT, bool SO, bool DF, bool SF, typename... CRAs >
127 struct IsColumns< volatile Columns<MT,SO,DF,SF,CRAs...> >
128  : public TrueType
129 {};
131 //*************************************************************************************************
132 
133 
134 //*************************************************************************************************
139 template< typename MT, bool SO, bool DF, bool SF, typename... CRAs >
140 struct IsColumns< const volatile Columns<MT,SO,DF,SF,CRAs...> >
141  : public TrueType
142 {};
144 //*************************************************************************************************
145 
146 
147 //*************************************************************************************************
160 template< typename T >
162 //*************************************************************************************************
163 
164 } // namespace blaze
165 
166 #endif
Compile time check for column selections.This type trait tests whether or not the given template para...
Definition: IsColumns.h:89
constexpr bool IsColumns_v
Auxiliary variable template for the IsColumns type trait.The IsColumns_v variable template provides a...
Definition: IsColumns.h:161
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:72
BoolConstant< true > TrueType
Type traits base class.The TrueType class is used as base class for type traits and value traits that...
Definition: IntegralConstant.h:132
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Header file for all forward declarations for views.
Header file for the IntegralConstant class template.