Increment operators
Synopses
Declared in <bdlt_calendar.h>
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.
Set the specified date object to have the value that is one day later than its current value, and return the value of date on entry. The behavior is undefined if the value of date on entry is 9999/12/31.
bdlt::Date
operator++(
Date& date,
int);
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.
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.
Advance the specified iterator to refer to the next holiday in the associated calendar, and return the previous value of iterator. The behavior is undefined unless, on entry, iterator references a valid holiday.
Advance the specified iterator to refer to the next transition in the referenced timetable, and return an iterator referring to the original element (before the advancement). The behavior is undefined unless, on entry, iterator references a valid transition.
Modify the specified iterator to refer to the next element in the reverse iteration sequence, and return a reverse iterator having the pre‐increment value of iterator. The behavior is undefined unless, on entry, iterator does not have the past‐the‐end value for a reverse iterator over the underlying sequence.
template<class ITERATOR>
bdlt::CalendarReverseIteratorAdapter<ITERATOR>
operator++(
CalendarReverseIteratorAdapter<ITERATOR>& iterator,
int);
Created with MrDocs