35 #ifndef _BLAZE_MATH_TYPETRAITS_ISREDUCEEXPR_H_ 36 #define _BLAZE_MATH_TYPETRAITS_ISREDUCEEXPR_H_ 60 template<
typename T >
61 struct IsReduceExprHelper
67 template<
typename U >
68 static TrueType test(
const ReduceExpr<U>* );
70 template<
typename U >
71 static TrueType test(
const volatile ReduceExpr<U>* );
78 using Type = decltype( test( create() ) );
96 template<
typename T >
98 :
public IsReduceExprHelper<T>::Type
108 template<
typename T >
129 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: IntegralConstant.h:121
constexpr bool IsReduceExpr_v
Auxiliary variable template for the IsReduceExpr type trait.The IsReduceExpr_v variable template prov...
Definition: IsReduceExpr.h:130
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:72
BoolConstant< true > TrueType
Type traits base class.The TrueType class is used as base class for type traits and value traits that...
Definition: IntegralConstant.h:132
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
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:97
Header file for the IntegralConstant class template.