Rows.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TYPETRAITS_ROWS_H_
36 #define _BLAZE_MATH_TYPETRAITS_ROWS_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
44 
45 
46 namespace blaze {
47 
48 //=================================================================================================
49 //
50 // CLASS DEFINITION
51 //
52 //=================================================================================================
53 
54 //*************************************************************************************************
74 template< typename T >
75 struct Rows
76  : public PtrdiffT<-1L>
77 {};
78 //*************************************************************************************************
79 
80 
81 //*************************************************************************************************
86 template< typename T >
87 struct Rows< const T >
88  : public Rows<T>
89 {};
91 //*************************************************************************************************
92 
93 
94 //*************************************************************************************************
99 template< typename T >
100 struct Rows< volatile T >
101  : public Rows<T>
102 {};
104 //*************************************************************************************************
105 
106 
107 //*************************************************************************************************
112 template< typename T >
113 struct Rows< const volatile T >
114  : public Rows<T>
115 {};
117 //*************************************************************************************************
118 
119 } // namespace blaze
120 
121 #endif
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the PtrdiffT class template.
Compile time integral constant wrapper for ptrdiff_t.The PtrdiffT class template represents an integr...
Definition: PtrdiffT.h:72
Compile time evaluation of the number of rows of a matrix.The Rows type trait evaluates the number of...
Definition: Rows.h:75