[#BloombergLP-bdlt-operator_minus-094]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::operator&hyphen;
:relfileprefix: ../../
:mrdocs:

Return the number of elements between specified `lhs` and `rhs`&period; The behavior is undefined unless `lhs` and `rhs` refer to codes associated with the same holiday in the same calendar&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;packedcalendar&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::ptrdiff&lowbar;t
operator&hyphen;(
    xref:BloombergLP/bdlt/PackedCalendar_HolidayCodeConstIterator.adoc[PackedCalendar&lowbar;HolidayCodeConstIterator] const& lhs,
    xref:BloombergLP/bdlt/PackedCalendar_HolidayCodeConstIterator.adoc[PackedCalendar&lowbar;HolidayCodeConstIterator] const& rhs);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
