Regress iterator and return a copy of its prior value.

Synopsis

Declared in <bdlt_calendarreverseiteratoradapter.h>

template<class ITERATOR>
bdlt::CalendarReverseIteratorAdapter<ITERATOR>
operator‐‐(
    CalendarReverseIteratorAdapter<ITERATOR>& iterator,
    int unused);

Description

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.

Return Value

a reverse iterator having the pre‐decrement value of iterator

Parameters

Name

Description

iterator

reverse iterator to regress

unused

unused parameter distinguishing the postfix operator

Created with MrDocs