Return the number of holiday codes between lhs and rhs.
Declared in <bdlt_packedcalendar.h>
std::ptrdiff_t
operator-(
PackedCalendar_HolidayCodeConstIterator const& lhs,
PackedCalendar_HolidayCodeConstIterator const& rhs);
Return the number of elements between specified lhs and rhs. The behavior is undefined unless lhs and rhs refer to codes associated with the same holiday in the same calendar.
the number of holiday codes between lhs and rhs
| Name | Description |
|---|---|
| lhs | left-hand iterator |
| rhs | right-hand iterator |