35 #ifndef _BLAZE_MATH_TYPETRAITS_ISSUBMATRIX_H_
36 #define _BLAZE_MATH_TYPETRAITS_ISSUBMATRIX_H_
43 #include <boost/type_traits/is_base_of.hpp>
64 template<
typename T >
65 struct IsSubmatrixHelper
69 typedef typename RemoveCV<T>::Type T2;
74 enum { value = boost::is_base_of<Submatrix,T>::value && !boost::is_base_of<T,Submatrix>::value };
75 typedef typename SelectType<value,TrueType,FalseType>::Type Type;
109 template<
typename T >
115 enum { value = IsSubmatrixHelper<T>::value };
116 typedef typename IsSubmatrixHelper<T>::Type Type;
Header file for the FalseType type/value trait base class.
Header file for the RemoveCV type trait.
Header file for the SelectType class template.
Compile time check for submatrices.This type trait tests whether or not the given template parameter ...
Definition: IsSubmatrix.h:110
Header file for the Submatrix base class.
Header file for the TrueType type/value trait base class.