BloombergLP::bdlt::operator==

Return true if lhs and rhs refer to the same holiday code.

Synopsis

Declared in <bdlt_packedcalendar.h>

bool
operator==(
    PackedCalendar_HolidayCodeConstIterator const& lhs,
    PackedCalendar_HolidayCodeConstIterator const& rhs);

Description

Return true if the specified lhs and rhs iterators refers to the same element, and false otherwise. The behavior is undefined unless lhs and rhs both reference the same holiday in the same calendar.

Return Value

true if lhs and rhs refer to the same holiday code, and false otherwise

Parameters

NameDescription
lhsleft-hand iterator
rhsright-hand iterator