Decrement operators
Declared in <bdlt_calendar.h>
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.
Calendar_BusinessDayConstIter
operator--(
Calendar_BusinessDayConstIter& iterator,
int);
» more...
Set the specified date object to have the value that is one day earlier than its current value, and return the value of date on entry. The behavior is undefined if the value of date on entry is 0001/01/01.
bdlt::Date
operator--(
Date& date,
int);
» more...
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.
bdlt::PackedCalendar_BusinessDayConstIterator
operator--(
PackedCalendar_BusinessDayConstIterator& iterator,
int);
» more...
Regress the specified iterator to refer to the previous 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 that is not the first holiday code for the associated date in the calendar.
bdlt::PackedCalendar_HolidayCodeConstIterator
operator--(
PackedCalendar_HolidayCodeConstIterator& iterator,
int);
» more...
Regress the specified iterator to refer to the previous holiday in the associated calendar, and return the previous value of iterator. The behavior is undefined unless, on entry, iterator references a valid holiday that is not the first holiday in the associated calendar.
bdlt::PackedCalendar_HolidayConstIterator
operator--(
PackedCalendar_HolidayConstIterator& iterator,
int);
» more...
Regress the specified iterator to refer to the previous transition in the referenced timetable, and return an iterator referring to the original element (before the decrementation). The behavior is undefined unless, on entry, iterator references a valid transition that is not the first transition of the associated timetable.
bdlt::Timetable_ConstIterator
operator--(
Timetable_ConstIterator& iterator,
int);
» more...
Modify the specified iterator to refer to the previous element in the reverse iteration sequence, and return a reverse iterator having the pre-decrement value of iterator. The behavior is undefined unless, on entry, iterator does not have the same value as a reverse iterator to the start of the underlying sequence.
template<class ITERATOR>
bdlt::CalendarReverseIteratorAdapter<ITERATOR>
operator--(
CalendarReverseIteratorAdapter<ITERATOR>& iterator,
int);
» more...