BloombergLP::bdlc::operator>

Return true if lhs is greater than rhs.

Synopsis

Declared in <bdlc_compactedarray.h>

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

Description

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.

Return Value

true if lhs is greater than rhs, and false otherwise

Parameters

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