Standard C++ Library Reference ISO/IEC (VERSION3)

greater
template<class Ty>
struct greater : public binary_function<Ty, Ty, bool> {
bool operator()(const Ty& left, const Ty& right) const;
};
The template class defines its member function as returning left > right. The member function defines a total
ordering if Ty is an object pointer type. (It will compare two pointer values consistently even if they don't point into the
same array.)
greater_equal
template<class Ty>
struct greater_equal
: public binary_function<Ty, Ty, bool> {
bool operator()(const Ty& left, const Ty& right) const;
};
The template class defines its member function as returning left >= right. The member function defines a total
ordering if Ty is an object pointer type. (It will compare two pointer values consistently even if they don't point into the
same array.)
less
template<class Ty>
struct less : public binary_function<Ty, Ty, bool> {
bool operator()(const Ty& left, const Ty& right) const;
};
The template class defines its member function as returning left < right. The member function defines a total
ordering if Ty is an object pointer type. (It will compare two pointer values consistently even if they don't point into the
same array.)
less_equal
template<class Ty>
struct less_equal
: public binary_function<Ty, Ty, bool> {
bool operator()(const Ty& left, const Ty& right) const;
};
The template class defines its member function as returning left <= right. The member function defines a total
ordering if Ty is an object pointer type. (It will compare two pointer values consistently even if they don't point into the
same array.)
logical_and
template<class Ty>
struct logical_and
: public binary_function<Ty, Ty, bool> {
bool operator()(const Ty& left, const Ty& right) const;
};