Template Numerical Library version\ main:bb09b17
|
Function object implementing max(x, y)
.
More...
#include <TNL/Functional.h>
Public Member Functions | |
template<typename T1 , typename T2 > | |
constexpr auto | operator() (const T1 &lhs, const T2 &rhs) const |
Static Public Member Functions | |
template<typename T > | |
static constexpr T | getIdentity () |
Returns the identity element of the operation. | |
Function object implementing max(x, y)
.
|
inlinestaticconstexpr |
Returns the identity element of the operation.
Suitable for TNL::Algorithms::reduce.