35 #ifndef _BLAZE_MATH_TYPETRAITS_ISROWMAJORMATRIX_H_
36 #define _BLAZE_MATH_TYPETRAITS_ISROWMAJORMATRIX_H_
43 #include <boost/type_traits/is_base_of.hpp>
65 template<
typename T >
66 struct IsRowMajorMatrixHelper
70 typedef typename RemoveCV<T>::Type T2;
75 enum { value = boost::is_base_of< DenseMatrix <T2,false>, T2 >::value ||
76 boost::is_base_of< SparseMatrix<T2,false>, T2 >::value };
77 typedef typename SelectType<value,TrueType,FalseType>::Type Type;
103 template<
typename T >
109 enum { value = IsRowMajorMatrixHelper<T>::value };
110 typedef typename IsRowMajorMatrixHelper<T>::Type Type;
Header file for the FalseType type/value trait base class.
Header file for the RemoveCV type trait.
Header file for the SparseMatrix base class.
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
Compile time check for row-major matrix types.This type trait tests whether or not the given template...
Definition: IsRowMajorMatrix.h:104
Header file for the DenseMatrix base class.
Header file for the SelectType class template.
Header file for the TrueType type/value trait base class.