Regress iterator to the previous holiday code and return its previous value.
Declared in <bdlt_packedcalendar.h>
bdlt::PackedCalendar_HolidayCodeConstIterator
operator--(
PackedCalendar_HolidayCodeConstIterator& iterator,
int unused);
Regress the specified iterator to refer to the previous holiday code for the associated date in the associated calendar, and return the previous value of iterator. The behavior is undefined unless, on entry, iterator references a valid holiday code that is not the first holiday code for the associated date in the calendar.
the previous value of iterator
| Name | Description |
|---|---|
| iterator | holiday-code iterator to regress |
| unused | unused argument distinguishing the postfix operator |