std::plus

From Cppreference

Jump to: navigation, search
Defined in header <functional>

template< class T >
struct plus;

Function object for performing addition.

[edit] Member types

type definition
result_type T
first_argument_type T
second_argument_type T

[edit] Member functions

Returns the sum of its two arguments
(public member function)