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 
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 IsRow : public FalseType
86 {};
87 //*************************************************************************************************
88 
89 
90 //*************************************************************************************************
95 template< typename MT, bool SO, bool DF, bool SF >
96 struct IsRow< Row<MT,SO,DF,SF> > : public TrueType
97 {};
99 //*************************************************************************************************
100 
101 
102 //*************************************************************************************************
107 template< typename MT, bool SO, bool DF, bool SF >
108 struct IsRow< const Row<MT,SO,DF,SF> > : public TrueType
109 {};
111 //*************************************************************************************************
112 
113 
114 //*************************************************************************************************
119 template< typename MT, bool SO, bool DF, bool SF >
120 struct IsRow< volatile Row<MT,SO,DF,SF> > : public TrueType
121 {};
123 //*************************************************************************************************
124 
125 
126 //*************************************************************************************************
131 template< typename MT, bool SO, bool DF, bool SF >
132 struct IsRow< const volatile Row<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
Compile time check for rows.This type trait tests whether or not the given template parameter is a ro...
Definition: IsRow.h:85
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
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Reference to a specific row of a dense or sparse matrix.The Row template represents a reference to a ...
Definition: Forward.h:48
Header file for all forward declarations for views.
Header file for the TrueType type/value trait base class.