35 #ifndef _BLAZE_MATH_TYPETRAITS_HASMAX_H_ 36 #define _BLAZE_MATH_TYPETRAITS_HASMAX_H_ 66 template<
typename T1,
typename T2,
typename =
void >
79 template<
typename T1,
typename T2 >
80 struct HasMaxHelper< T1, T2,
Void_< decltype(
max(
std::declval<T1>(), std::declval<T2>() ) ) > >
107 template<
typename T1,
typename T2,
typename =
void >
109 :
public HasMaxHelper<T1,T2>
119 template<
typename T >
120 struct HasMax< complex<T>, complex<T> >
132 template<
typename T1,
typename T2 >
133 struct HasMax< T1, T2, EnableIf_< And< IsVector<T1>, IsVector<T2> > > >
134 :
public HasMax< typename T1::ElementType, typename T2::ElementType >
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
Header file for the And class template.
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
const ElementType_< MT > max(const DenseMatrix< MT, SO > &dm)
Returns the largest element of the dense matrix.
Definition: DenseMatrix.h:1950
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
Header file for the IsVector type trait.
Header file for the EnableIf class template.
void Void_
Compile time type check.This type trait maps an arbitrary sequence of types to the type void...
Definition: Void.h:64
Availability of a max() operation for the given data types.This type trait provides the information w...
Definition: HasMax.h:108
Header file for the complex data type.
Header file for the TrueType type/value trait base class.