BloombergLP::bdlc::operator<=

Less-than-or-equal operators

Synopses

Declared in <bdlc_compactedarray.h>

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

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);
» more...

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

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

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);
» more...