cpp/utility/functional/plus

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

Member functions
{{member | {{small|std::plus::}}operator | 2= {{dcl begin}} {{dcl rev begin}} {{dcl |until=c++14| T operator( const T& lhs, const T& rhs ) const; }} {{dcl |since=c++14| constexpr T operator( const T& lhs, const T& rhs ) const; }} {{dcl rev end}} {{dcl end}}

Returns the sum of {{tt|lhs}} and {{tt|rhs}}.

Return value
The result of.

Possible implementation
}}