BloombergLP::bdlc::operator>

Greater-than operators

Synopses

Declared in <bdlc_compactedarray.h>

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

template<>
bool
operator><>(
    PackedIntArrayConstIterator const& lhs,
    PackedIntArrayConstIterator const& rhs);
» more...

Return true if lhs follows rhs in the referenced array.

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

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

template<>
bool
operator>(
    CompactedArray_ConstIterator const& lhs,
    CompactedArray_ConstIterator const& rhs);
» more...

Return true if lhs is greater than rhs.

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

Return Value

  • true if lhs follows rhs, and false otherwise
  • true if lhs is greater than rhs, and false otherwise

Parameters

NameDescription
lhsleft-hand-side iterator
rhsright-hand-side iterator