equal_to

Returns true if the first argument is equal to the second argument.

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

Returns true if x is equal to y.