std::minus

From Cppreference

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

template< class T >
struct minus;

Function object for performing subtraction.

[edit] Member types

type definition
result_type T
first_argument_type T
second_argument_type T

[edit] Member functions

Returns the difference between its first argument and its second argument
(public member function)