KaMPIng 0.2.1
(Near) zero-overhead MPI wrapper for C++
Loading...
Searching...
No Matches
kamping::ops::internal::min_impl< T > Struct Template Reference

Wrapper struct for std::min (same rationale as max_impl). More...

#include <reduce_ops.hpp>

Public Member Functions

constexproperator() (T const &lhs, T const &rhs) const
 Returns the minimum of the two parameters.
 

Detailed Description

template<typename T>
struct kamping::ops::internal::min_impl< T >

Wrapper struct for std::min (same rationale as max_impl).

Template Parameters
Tthe type of the operands

Member Function Documentation

◆ operator()()

template<typename T >
constexpr T kamping::ops::internal::min_impl< T >::operator() ( T const & lhs,
T const & rhs ) const
inlineconstexpr

Returns the minimum of the two parameters.

Parameters
lhsthe first operand
rhsthe second operand

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