Template Numerical Library version\ main:481315e2

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.  
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.