BloombergLP::bdlb::operator>

Return true if the underlying iterator of lhs is greater than rhs.

Synopsis

Declared in <bdlb_transformiterator.h>

template<
    class FUNCTOR,
    class ITERATOR>
bool
operator>(
    TransformIterator<FUNCTOR, ITERATOR> const& lhs,
    TransformIterator<FUNCTOR, ITERATOR> const& rhs);

Description

Return true if the underlying iterator of the specified lhs compares greater than the underlying iterator of the specified rhs, and false otherwise. The behavior is undefined if comparing the underlying iterators in this way is undefined. Note that the functors are not compared.

Return Value

true if the underlying iterator of lhs is greater than that of rhs, and false otherwise

Parameters

NameDescription
lhsleft-hand operand
rhsright-hand operand