All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ColumnTrait.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TRAITS_COLUMNTRAIT_H_
36 #define _BLAZE_MATH_TRAITS_COLUMNTRAIT_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
43 #include <blaze/util/InvalidType.h>
44 #include <blaze/util/mpl/If.h>
45 #include <blaze/util/mpl/Or.h>
51 
52 
53 namespace blaze {
54 
55 //=================================================================================================
56 //
57 // CLASS DEFINITION
58 //
59 //=================================================================================================
60 
61 //*************************************************************************************************
114 template< typename MT > // Type of the matrix
116 {
117  private:
118  //**********************************************************************************************
120  struct Failure { typedef INVALID_TYPE Type; };
122  //**********************************************************************************************
123 
124  //**********************************************************************************************
126  typedef typename RemoveReference< typename RemoveCV<MT>::Type >::Type Tmp;
128  //**********************************************************************************************
129 
130  public:
131  //**********************************************************************************************
134  , ColumnTrait<Tmp>, Failure >::Type::Type Type;
136  //**********************************************************************************************
137 };
138 //*************************************************************************************************
139 
140 } // namespace blaze
141 
142 #endif
Compile time type selection.The If class template selects one of the two given types T2 and T3 depend...
Definition: If.h:112
Compile time check for volatile data types.The IsVolatile type trait tests whether or not the given t...
Definition: IsVolatile.h:94
Base template for the ColumnTrait class.
Definition: ColumnTrait.h:115
Header file for the RemoveCV type trait.
Header file for the IsVolatile type trait.
Header file for the If class template.
Header file for the Or class template.
Removal of reference modifiers.The RemoveCV type trait removes any reference modifiers from the given...
Definition: RemoveReference.h:69
Header file for the IsConst type trait.
Utility type for generic codes.
Header file for the IsReference type trait.
Header file for the RemoveReference type trait.
Compile time type check.This class tests whether the given template parameter T is a reference type (...
Definition: IsReference.h:94