Greater‐than operators

Synopses

Declared in <bdlc_compactedarray.h>

Return true if lhs follows rhs in the referenced array.

template<class TYPE>
bool
operator>(
    PackedIntArrayConstIterator<TYPE> const& lhs,
    PackedIntArrayConstIterator<TYPE> const& rhs);

Return whether the left iterator follows the right (see free operator>).

Return true if the specified lhs has a value greater than the specified rhs, and false otherwise. Iterator lhs has a value greater than iterator rhs if 0 > rhs ‐ lhs (see operator‐). The behavior is undefined unless lhs and rhs refer to the same array.

template<class TYPE>
bool
operator>(
    CompactedArray_ConstIterator<TYPE> const& lhs,
    CompactedArray_ConstIterator<TYPE> const& rhs);

Created with MrDocs