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);
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>).
template<>
bool
operator>(
CompactedArray_ConstIterator const& lhs,
CompactedArray_ConstIterator const& rhs);
Return true if lhs is greater than rhs.
template<class TYPE>
bool
operator>(
CompactedArray_ConstIterator<TYPE> const& lhs,
CompactedArray_ConstIterator<TYPE> const& rhs);
Return Value
-
trueiflhsfollowsrhs, andfalseotherwise -
trueiflhsis greater thanrhs, andfalseotherwise
Parameters
Name |
Description |
lhs |
left‐hand‐side iterator |
rhs |
right‐hand‐side iterator |
Created with MrDocs