35 #ifndef _BLAZE_MATH_TYPETRAITS_HASMAX_H_ 36 #define _BLAZE_MATH_TYPETRAITS_HASMAX_H_ 64 template<
typename T1,
typename T2,
typename =
void >
77 template<
typename T1,
typename T2 >
78 struct HasMaxHelper< T1, T2,
Void_t< decltype(
max( std::declval<T1>(), std::declval<T2>() ) ) > >
105 template<
typename T1,
typename T2,
typename =
void >
107 :
public HasMaxHelper<T1,T2>
117 template<
typename T >
118 struct HasMax< complex<T>, complex<T> >
130 template<
typename T1,
typename T2 >
132 :
public HasMax< typename T1::ElementType, typename T2::ElementType >
151 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: IntegralConstant.h:121
Header file for the Void type trait.
constexpr bool HasMax_v
Auxiliary variable template for the HasMax type trait.The HasMax_v variable template provides a conve...
Definition: HasMax.h:152
Generic wrapper for a compile time constant integral value.The IntegralConstant class template repres...
Definition: IntegralConstant.h:72
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: IntegralConstant.h:132
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
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:1198
Header file for the IsVector type trait.
Header file for the EnableIf class template.
constexpr bool IsVector_v
Auxiliary variable template for the IsVector type trait.The IsVector_v variable template provides a c...
Definition: IsVector.h:139
Availability of a max() operation for the given data types.This type trait provides the information w...
Definition: HasMax.h:106
Header file for the IntegralConstant class template.
Header file for the complex data type.