22 #ifndef _BLAZE_MATH_TYPETRAITS_ISSUBEXPR_H_
23 #define _BLAZE_MATH_TYPETRAITS_ISSUBEXPR_H_
30 #include <boost/type_traits/is_base_of.hpp>
50 template<
typename T >
51 struct IsSubExprHelper
54 enum { value = boost::is_base_of<SubExpr,T>::value && !boost::is_base_of<T,SubExpr>::value };
55 typedef typename SelectType<value,TrueType,FalseType>::Type Type;
74 template<
typename T >
80 enum { value = IsSubExprHelper<T>::value };
81 typedef typename IsSubExprHelper<T>::Type Type;