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

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

#include <AMReX_Functional.H>

Public Member Functions

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

Detailed Description

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

Function object that returns the larger of two values.

Member Function Documentation

◆ operator()()

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

Return the larger of lhs and rhs.


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