35 #ifndef _BLAZE_MATH_TYPETRAITS_HASMAX_H_ 36 #define _BLAZE_MATH_TYPETRAITS_HASMAX_H_ 65 template<
typename T1,
typename T2,
typename =
void >
78 template<
typename T1,
typename T2 >
79 struct HasMaxHelper< T1, T2,
Void_t< decltype(
max(
std::declval<T1>(), std::declval<T2>() ) ) > >
106 template<
typename T1,
typename T2,
typename =
void >
108 :
public HasMaxHelper<T1,T2>
118 template<
typename T >
119 struct HasMax< complex<T>, complex<T> >
131 template<
typename T1,
typename T2 >
133 :
public HasMax< typename T1::ElementType, typename T2::ElementType >
152 template<
typename T1,
typename T2 >
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 Void type trait.
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
void Void_t
Compile time type check.This type trait maps an arbitrary sequence of types to the type void...
Definition: Void.h:64
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
typename EnableIf< Condition, T >::Type EnableIf_t
Auxiliary type for the EnableIf class template.The EnableIf_t alias declaration provides a convenient...
Definition: EnableIf.h:138
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
constexpr bool HasMax_v
Auxiliary variable template for the HasMax type trait.The HasMax_v variable template provides a conve...
Definition: HasMax.h:153
constexpr bool IsVector_v
Auxiliary variable template for the IsVector type trait.The IsVector_v variable template provides a c...
Definition: IsVector.h:140
decltype(auto) max(const DenseMatrix< MT1, SO1 > &lhs, const DenseMatrix< MT2, SO2 > &rhs)
Computes the componentwise maximum of the dense matrices lhs and rhs.
Definition: DMatDMatMapExpr.h:1179
Header file for the IsVector type trait.
Header file for the EnableIf class template.
Availability of a max() operation for the given data types.This type trait provides the information w...
Definition: HasMax.h:107
Header file for the complex data type.
Header file for the TrueType type/value trait base class.