Increment operators
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.
Calendar_BusinessDayConstIter
operator++(
Calendar_BusinessDayConstIter& iterator,
int);
» more...
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);
» more...
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.
bdlt::PackedCalendar_BusinessDayConstIterator
operator++(
PackedCalendar_BusinessDayConstIterator& iterator,
int);
» more...
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.
bdlt::PackedCalendar_HolidayCodeConstIterator
operator++(
PackedCalendar_HolidayCodeConstIterator& iterator,
int);
» more...
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.
bdlt::PackedCalendar_HolidayConstIterator
operator++(
PackedCalendar_HolidayConstIterator& iterator,
int);
» more...
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.
bdlt::Timetable_ConstIterator
operator++(
Timetable_ConstIterator& iterator,
int);
» more...
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);
» more...