Standard C++ Library Reference ISO/IEC (VERSION3)
The template operator returns !(left == right).
operator==
template<class RanIt>
bool operator==(
const reverse_iterator<RanIt>& left,
const reverse_iterator<RanIt>& right);
template<class Ty, class Elem, class Tr, class Diff>
bool operator==(
const istream_iterator<Ty, Elem, Tr, Diff>& left,
const istream_iterator<Ty, Elem, Tr, Diff>& right);
template<class Elem, class Tr>
bool operator==(
const istreambuf_iterator<Elem, Tr>& left,
const istreambuf_iterator<Elem, Tr>& right);
The first template operator returns true only if left.current == right.current. The second
template operator returns true only if both left and right store the same stream pointer. The third
template operator returns left.equal(right).
operator<
template<class RanIt>
bool operator<(
const reverse_iterator<RanIt>& left,
const reverse_iterator<RanIt>& right);
The template operator returns right.current < left.current [sic].
operator<=
template<class RanIt>
bool operator<=(
const reverse_iterator<RanIt>& left,
const reverse_iterator<RanIt>& right);
The template operator returns !(right < left).
operator>
template<class RanIt>
bool operator>(
const reverse_iterator<RanIt>& left,
const reverse_iterator<RanIt>& right);