Regress iterator and return its previous value.
Synopsis
Declared in <bdlt_timetable.h>
bdlt::Timetable_ConstIterator
operator‐‐(
Timetable_ConstIterator& iterator,
int unused);
Description
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.
Return Value
iterator referring to the original element
Parameters
Name |
Description |
iterator |
iterator to regress |
unused |
unused argument distinguishing the postfix operator |
Created with MrDocs