bsl::operator<

Return true if the specified lhs iterator is earlier in the underlying sequence than the specified rhs iterator, and false otherwise.

Synopsis

Declared in <bslstl_vector.h>

bool
operator<(
    vector_UintPtrConversionIterator const& lhs,
    vector_UintPtrConversionIterator const& rhs);

Description

Return true if the specified lhs iterator is earlier in the underlying sequence than the specified rhs iterator, and false otherwise. The behavior is undefined if lhs and rhs do not iterate over the same sequence, or if the (template parameter) type ITERATOR is not a random access iterator.

Return Value

true if lhs precedes rhs in the underlying sequence

Parameters

NameDescription
lhsleft-hand operand
rhsright-hand operand