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

operator<
template<class Ty, class Alloc>
bool operator<(
const deque <Ty, Alloc>& left,
const deque <Ty, Alloc>& right);
The template function overloads operator< to compare two objects of template class
deque. The function returns lexicographical_compare(left. begin(), left.
end(), right.begin(), right.end()).
operator<=
template<class Ty, class Alloc>
bool operator<=(
const deque <Ty, Alloc>& left,
const deque <Ty, Alloc>& right);
The template function returns !(right < left).
operator>
template<class Ty, class Alloc>
bool operator>(
const deque <Ty, Alloc>& left,
const deque <Ty, Alloc>& right);
The template function returns right < left.
operator>=
template<class Ty, class Alloc>
bool operator>=(
const deque <Ty, Alloc>& left,
const deque <Ty, Alloc>& right);
The template function returns !(left < right).
swap
template<class Ty, class Alloc>
void swap(