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 : public FalseType
86 {};
87 //*************************************************************************************************
88 
89 
90 //*************************************************************************************************
95 template< typename MT, bool SO, bool DF, bool SF >
96 struct IsColumn< Column<MT,SO,DF,SF> > : public TrueType
97 {};
99 //*************************************************************************************************
100 
101 
102 //*************************************************************************************************
107 template< typename MT, bool SO, bool DF, bool SF >
108 struct IsColumn< const Column<MT,SO,DF,SF> > : public TrueType
109 {};
111 //*************************************************************************************************
112 
113 
114 //*************************************************************************************************
119 template< typename MT, bool SO, bool DF, bool SF >
120 struct IsColumn< volatile Column<MT,SO,DF,SF> > : public TrueType
121 {};
123 //*************************************************************************************************
124 
125 
126 //*************************************************************************************************
131 template< typename MT, bool SO, bool DF, bool SF >
132 struct IsColumn< const volatile Column<MT,SO,DF,SF> > : public TrueType
133 {};
135 //*************************************************************************************************
136 
137 } // namespace blaze
138 
139 #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
BoolConstant< true > TrueType
Type traits base class.The TrueType class is used as base class for type traits and value traits that...
Definition: TrueType.h:61
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
Reference to a specific column of a dense or sparse matrix.The Column template represents a reference...
Definition: BaseTemplate.h:354
Header file for all forward declarations for views.
Header file for the TrueType type/value trait base class.