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

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

#include <AMReX_Functional.H>

Public Member Functions

constexpr T operator() (const T &lhs, const T &rhs) const
 Return lhs + rhs.
 

Detailed Description

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

Function object that returns the sum of two values.

Member Function Documentation

◆ operator()()

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

Return lhs + rhs.


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