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

operator==
template<class Ty, class Container>
bool operator==(const stack <Ty, Container>& left,
const stack <Ty, Container>& right);
The template function overloads operator== to compare two objects of template class
stack. The function returns left.c == right.c.
operator<
template<class Ty, class Container>
bool operator<(const stack <Ty, Container>& left,
const stack <Ty, Container>& right);
The template function overloads operator< to compare two objects of template class
stack. The function returns left.c < right.c.
operator<=
template<class Ty, class Container>
bool operator<=(const stack <Ty, Container>& left,
const stack <Ty, Container>& right);
The template function returns !(right < left).
operator>
template<class Ty, class Container>
bool operator>(const stack <Ty, Container>& left,
const stack <Ty, Container>& right);
The template function returns right < left.
operator>=
template<class Ty, class Container>
bool operator>=(const stack <Ty, Container>& left,
const stack <Ty, Container>& right);
The template function returns !(left < right).