logical_and

logical_and

template<class T>
    struct logical_and : 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.