BloombergLP::bdlt::operator++

Increment operators

Synopses

Declared in <bdlt_calendar.h>

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

Calendar_BusinessDayConstIter
operator++(
    Calendar_BusinessDayConstIter& iterator,
    int unused);
» more...

Advance date by one day and return its previous value.

bdlt::Date
operator++(
    Date& date,
    int unused);
» more...

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

bdlt::PackedCalendar_BusinessDayConstIterator
operator++(
    PackedCalendar_BusinessDayConstIterator& iterator,
    int unused);
» more...

Advance iterator to the next holiday code and return its previous value.

bdlt::PackedCalendar_HolidayCodeConstIterator
operator++(
    PackedCalendar_HolidayCodeConstIterator& iterator,
    int unused);
» more...

Advance iterator to the next holiday and return its previous value.

bdlt::PackedCalendar_HolidayConstIterator
operator++(
    PackedCalendar_HolidayConstIterator& iterator,
    int unused);
» more...

Advance iterator and return its previous value.

bdlt::Timetable_ConstIterator
operator++(
    Timetable_ConstIterator& iterator,
    int unused);
» more...

Advance iterator and return a copy of its prior value.

template<class ITERATOR>
bdlt::CalendarReverseIteratorAdapter<ITERATOR>
operator++(
    CalendarReverseIteratorAdapter<ITERATOR>& iterator,
    int unused);
» more...

Return Value

  • the previous value of iterator
  • previous value of date
  • iterator referring to the original element
  • a reverse iterator having the pre-increment value of iterator

Parameters

NameDescription
iteratoriterator to advance
unusedunused argument distinguishing the postfix operator
datedate to advance