equal_to

template<class T>
    struct equal_to : public binary_function<T, T, bool> {
    bool operator()(const T& x, const T& y) const;
    };

The template class defines its member function as returning x == y.