logical_and

Returns true if the first and the second argument are true.

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

Returns true if x and y are true.