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 
44 #include <blaze/util/FalseType.h>
45 #include <blaze/util/TrueType.h>
46 
47 
48 namespace blaze {
49 
50 //=================================================================================================
51 //
52 // CLASS DEFINITION
53 //
54 //=================================================================================================
55 
56 //*************************************************************************************************
84 template< typename T >
85 struct IsColumn
86  : public FalseType
87 {};
88 //*************************************************************************************************
89 
90 
91 //*************************************************************************************************
96 template< typename MT, bool SO, bool DF, bool SF >
97 struct IsColumn< Column<MT,SO,DF,SF> >
98  : public TrueType
99 {};
101 //*************************************************************************************************
102 
103 
104 //*************************************************************************************************
109 template< typename MT, bool SO, bool DF, bool SF >
110 struct IsColumn< const Column<MT,SO,DF,SF> >
111  : public TrueType
112 {};
114 //*************************************************************************************************
115 
116 
117 //*************************************************************************************************
122 template< typename MT, bool SO, bool DF, bool SF >
123 struct IsColumn< volatile Column<MT,SO,DF,SF> >
124  : public TrueType
125 {};
127 //*************************************************************************************************
128 
129 
130 //*************************************************************************************************
135 template< typename MT, bool SO, bool DF, bool SF >
136 struct IsColumn< const volatile Column<MT,SO,DF,SF> >
137  : public TrueType
138 {};
140 //*************************************************************************************************
141 
142 } // namespace blaze
143 
144 #endif
Header file for the FalseType type/value trait base class.
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:71
Compile time check for columns.This type trait tests whether or not the given template parameter is a...
Definition: IsColumn.h:85
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for all forward declarations for views.
Header file for the TrueType type/value trait base class.