BloombergLP::bslstl::operator>=

Return true if lhs follows or equals rhs in the iteration sequence.

Synopsis

Declared in <bslstl_randomaccessiterator.h>

template<
    class T1,
    class T2,
    class ITER_IMP,
    class TAG_TYPE>
bool
operator>=(
    RandomAccessIterator<T1, ITER_IMP, TAG_TYPE> const& lhs,
    RandomAccessIterator<T2, ITER_IMP, TAG_TYPE> const& rhs);

Description

Return true if (1) the specified lhs iterator has the same value as the specified rhs iterator, or (2) lhs has the past-the-end value for an iterator over this sequence, or (3) lhs refers to an element after rhs in the iteration sequence, and false otherwise. The behavior is undefined unless lhs and rhs are iterators into the same underlying sequence.

Return Value

true if lhs follows or equals rhs in the iteration sequence, and false otherwise

Parameters

NameDescription
lhsfirst iterator to compare
rhssecond iterator to compare