Return true if lhs follows rhs in the iteration sequence.
Declared in <bslstl_randomaccessiterator.h>
template<
class T1,
class T2,
class ITER_IMP,
class TAG_TYPE>
bool
operator>(
RandomAccessIterator<T1, ITER_IMP, TAG_TYPE> const& lhs,
RandomAccessIterator<T2, ITER_IMP, TAG_TYPE> const& rhs);
Return true if (1) the specified lhs iterator refers to an element after the specified rhs iterator in the iteration sequence, or (2) lhs (and not rhs) has the past-the-end value for an iterator over this sequence, and false otherwise. The behavior is undefined unless lhs and rhs are iterators into the same underlying sequence.
true if lhs follows rhs in the iteration sequence, and false otherwise
| Name | Description |
|---|---|
| lhs | first iterator to compare |
| rhs | second iterator to compare |