KaMPIng 0.1.0
(Near) zero-overhead C++ MPI bindings.
Loading...
Searching...
No Matches
kamping::internal::max_impl< void > Struct Reference

Template specialization for kamping::internal::max_impl without type parameter, which leaves the operand type to be deduced. More...

#include <mpi_ops.hpp>

Public Member Functions

template<typename T >
constexpr auto operator() (T const &lhs, T const &rhs) const
 Returns the maximum of the two parameters.
 

Detailed Description

Template specialization for kamping::internal::max_impl without type parameter, which leaves the operand type to be deduced.

The actual implementation is used in case that the operation is a builtin operation for the given datatype.

Member Function Documentation

◆ operator()()

template<typename T >
constexpr auto kamping::internal::max_impl< void >::operator() ( T const & lhs,
T const & rhs ) const
inlineconstexpr

Returns the maximum of the two parameters.

Parameters
lhsthe first operand
rhsthe second operand
Template Parameters
Tthe type of the operands
Returns
the maximum

The documentation for this struct was generated from the following file: