Template Numerical Library version main:e6bb26f

Function object implementing x + y
.
More...
#include <TNL/Functional.h>
Static Public Member Functions  
template<typename T >  
static constexpr T  getIdentity () 
Returns the identity element of the operation. More...  
Additional Inherited Members  
Public Member Functions inherited from std::plus< void >  
T  operator() (T... args) 
Function object implementing x + y
.

inlinestaticconstexpr 
Returns the identity element of the operation.
Suitable for TNL::Algorithms::reduce.