Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
amrex::Minimum< T > Struct Template Reference

Function object that returns the smaller of two values. More...

#include <AMReX_Functional.H>

Public Member Functions

constexpr T operator() (const T &lhs, const T &rhs) const
 Return the smaller of lhs and rhs.

Detailed Description

template<typename T>
struct amrex::Minimum< T >

Function object that returns the smaller of two values.

Member Function Documentation

◆ operator()()

template<typename T>
T amrex::Minimum< T >::operator() ( const T & lhs,
const T & rhs ) const
inlineconstexpr

Return the smaller of lhs and rhs.


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