Less‐than‐or‐equal operators

Synopses

Declared in <bdlc_compactedarray.h>

Return true if the specified lhs has a value less than or equal to the specified rhs, `false' otherwise. An iterator has a value less than or equal to another if its index is less or equal the other's index. The behavior is undefined unless `lhs and rhs refer to the same array.

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

Return whether the left iterator precedes or equals the right (see free operator<=).

Return true if the specified lhs has a value less than or equal to the specified rhs, and `false' otherwise. Iterator `lhs has a value less than or equal to 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