[#BloombergLP-bdlt-operator_minus-094] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::operator‐ :relfileprefix: ../../ :mrdocs: Return the number of holiday codes between `lhs` and `rhs`. == Synopsis Declared in `<bdlt_packedcalendar.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::ptrdiff_t operator‐( xref:BloombergLP/bdlt/PackedCalendar_HolidayCodeConstIterator.adoc[PackedCalendar_HolidayCodeConstIterator] const& lhs, xref:BloombergLP/bdlt/PackedCalendar_HolidayCodeConstIterator.adoc[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 [cols="1,4"] |=== | Name| Description | *lhs* | left‐hand iterator | *rhs* | right‐hand iterator |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#