std::plus

Header: <functional>

Function object for performing addition. Effectively calls operator+ on two instances of type T.

# Declarations

template< class T >
struct plus;

(until C++14)

template< class T = void >
struct plus;

(since C++14)

# Parameters

# Return value

The result of lhs + rhs.