std::equal_to

From Cppreference

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

template< class T >
struct equal_to;

Function object for performing equality checks.

[edit] Member types

type definition
result_type bool
first_argument_type T
second_argument_type T

[edit] Member functions

Returns true if its two arguments are equal, otherwise false
(public member function)