[#BloombergLP-bdlt-operator_inc-0af] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::operator++ :relfileprefix: ../../ :mrdocs: Advance `iterator` to the next holiday code and return its previous value. == Synopsis Declared in `<bdlt_packedcalendar.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlt/PackedCalendar_HolidayCodeConstIterator.adoc[bdlt::PackedCalendar_HolidayCodeConstIterator] operator++( xref:BloombergLP/bdlt/PackedCalendar_HolidayCodeConstIterator.adoc[PackedCalendar_HolidayCodeConstIterator]& iterator, int unused); ---- == Description Advance the specified `iterator` to refer to the next 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. == Return Value the previous value of `iterator` == Parameters [cols="1,4"] |=== | Name| Description | *iterator* | holiday‐code iterator to advance | *unused* | unused argument distinguishing the postfix operator |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#