Advance iterator and return its previous value.

Synopsis

Declared in <bdlt_timetable.h>

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

Description

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.

Return Value

iterator referring to the original element

Parameters

Name

Description

iterator

iterator to advance

unused

unused argument distinguishing the postfix operator

Created with MrDocs