All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ColumnTrait.h
Go to the documentation of this file.
1 //=================================================================================================
20 //=================================================================================================
21 
22 #ifndef _BLAZE_MATH_TRAITS_COLUMNTRAIT_H_
23 #define _BLAZE_MATH_TRAITS_COLUMNTRAIT_H_
24 
25 
26 //*************************************************************************************************
27 // Includes
28 //*************************************************************************************************
29 
30 #include <blaze/util/InvalidType.h>
31 #include <blaze/util/SelectType.h>
37 
38 
39 namespace blaze {
40 
41 //=================================================================================================
42 //
43 // CLASS DEFINITION
44 //
45 //=================================================================================================
46 
47 //*************************************************************************************************
99 template< typename MT > // Type of the matrix
101 {
102  private:
103  //**********************************************************************************************
105  struct Failure { typedef INVALID_TYPE Type; };
107  //**********************************************************************************************
108 
109  //**********************************************************************************************
113  //**********************************************************************************************
114 
115  //**********************************************************************************************
117  typedef typename RemoveReference< typename RemoveCV<MT>::Type >::Type Tmp;
119  //**********************************************************************************************
120 
121  public:
122  //**********************************************************************************************
124  typedef typename SelectType< qualified, ColumnTrait<Tmp>, Failure >::Type::Type Type;
126  //**********************************************************************************************
127 };
128 //*************************************************************************************************
129 
130 } // namespace blaze
131 
132 #endif