|
KaMPIng 0.2.1
(Near) zero-overhead MPI wrapper for C++
|
Wrapper struct for std::max. More...
#include <reduce_ops.hpp>
Public Member Functions | |
| constexpr T | operator() (T const &lhs, T const &rhs) const |
| Returns the maximum of the two parameters. | |
Wrapper struct for std::max.
std::max is a function, not a function object. This wrapper allows template matching for builtin MPI operation detection. The <void> specialization uses type deduction.
| T | the type of the operands |
|
inlineconstexpr |
Returns the maximum of the two parameters.
| lhs | the first operand |
| rhs | the second operand |