Advance iterator to the next business day and return its prior value.

Synopsis

Declared in <bdlt_calendar.h>

Calendar_BusinessDayConstIter
operator++(
    Calendar_BusinessDayConstIter& iterator,
    int unused);

Description

Advance the specified iterator to refer to the next 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.

Return Value

the previous value of iterator

Parameters

Name

Description

iterator

iterator to advance

unused

unused argument distinguishing the postfix operator

Created with MrDocs