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