35 #ifndef _BLAZE_MATH_TYPETRAITS_ISREDUCEEXPR_H_ 36 #define _BLAZE_MATH_TYPETRAITS_ISREDUCEEXPR_H_ 61 template<
typename T >
62 struct IsReduceExprHelper
68 template<
typename U >
69 static TrueType test(
const ReduceExpr<U>* );
71 template<
typename U >
72 static TrueType test(
const volatile ReduceExpr<U>* );
79 using Type = decltype( test( create() ) );
97 template<
typename T >
99 :
public IsReduceExprHelper<T>::Type
109 template<
typename T >
130 template<
typename T >
BoolConstant< false > FalseType
Type/value traits base class.The FalseType class is used as base class for type traits and value trai...
Definition: FalseType.h:61
Header file for the FalseType type/value trait base class.
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:71
BoolConstant< true > TrueType
Type traits base class.The TrueType class is used as base class for type traits and value traits that...
Definition: TrueType.h:61
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
constexpr bool IsReduceExpr_v
Auxiliary variable template for the IsReduceExpr type trait.The IsReduceExpr_v variable template prov...
Definition: IsReduceExpr.h:131
Header file for the ReduceExpr base class.
Compile time check whether the given type is a reduction expression template.This type trait class te...
Definition: IsReduceExpr.h:98
Header file for the TrueType type/value trait base class.