[#BloombergLP-bdlt-operator_minus-094] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::operator‐ :relfileprefix: ../../ :mrdocs: 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. == 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); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#