StorageOrder.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_MATH_TYPETRAITS_STORAGEORDER_H_
36 #define _BLAZE_MATH_TYPETRAITS_STORAGEORDER_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
46 #include <blaze/util/EnableIf.h>
48 
49 
50 namespace blaze {
51 
52 //=================================================================================================
53 //
54 // CLASS DEFINITION
55 //
56 //=================================================================================================
57 
58 //*************************************************************************************************
76 template< typename T, typename = EnableIf_< IsMatrix<T> > >
77 struct StorageOrder : public BoolConstant< ( IsRowMajorMatrix<T>::value ? rowMajor : columnMajor ) >
78 {};
79 //*************************************************************************************************
80 
81 } // namespace blaze
82 
83 #endif
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:71
Header file for the IsMatrix type trait.
Header file for the matrix storage order types.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Header file for the EnableIf class template.
Evaluation of the storage order of a given matrix type.Via this type trait it is possible to evaluate...
Definition: StorageOrder.h:77
Header file for the IsRowMajorMatrix type trait.
Header file for the IntegralConstant class template.