BloombergLP::bdlt::operator==

Return true if lhs and rhs have the same value, and false otherwise.

Synopsis

Declared in <bdlt_calendarreverseiteratoradapter.h>

template<class ITERATOR>
bool
operator==(
    CalendarReverseIteratorAdapter<ITERATOR> const& lhs,
    CalendarReverseIteratorAdapter<ITERATOR> const& rhs);

Description

Two reverse iterators have the same value if they refer to the same element, or both have the past-the-end value for a reverse iterator over the underlying reverse iteration sequence. The behavior is undefined unless lhs and rhs refer to the same underlying sequence.

Return Value

true if lhs and rhs have the same value, and false otherwise

Parameters

NameDescription
lhsleft-hand reverse iterator to compare
rhsright-hand reverse iterator to compare