Return the number of holiday codes between lhs and rhs.
Synopsis
Declared in <bdlt_packedcalendar.h>
std::ptrdiff_t
operator‐(
PackedCalendar_HolidayCodeConstIterator const& lhs,
PackedCalendar_HolidayCodeConstIterator const& rhs);
Description
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.
Return Value
the number of holiday codes between lhs and rhs
Parameters
Name |
Description |
lhs |
left‐hand iterator |
rhs |
right‐hand iterator |
Created with MrDocs