BloombergLP::bdlc::operator<

Less-than operators

Synopses

Declared in <bdlc_compactedarray.h>

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

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

Return true if lhs precedes rhs in the referenced array.

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

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

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

Return true if lhs is less than rhs.

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

Return true if the value stored in lhs is less than rhs.

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

Return true if lhs is less than the value stored in rhs.

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

Return Value

  • true if lhs precedes rhs, and false otherwise
  • true if lhs is less than rhs, and false otherwise
  • true if the value in lhs is less than rhs, and false otherwise
  • true if lhs is less than the value in rhs, and false otherwise

Parameters

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