Post‐increment the specified iterator and return its previous value.

Synopsis

Declared in <bslstl_bidirectionaliterator.h>

template<
    class T,
    class ITER_IMP,
    class TAG_TYPE>
bslstl::BidirectionalIterator<T, ITER_IMP, TAG_TYPE>
operator++(
    BidirectionalIterator<T, ITER_IMP, TAG_TYPE>& iter,
    int unused);

Description

Increment the specified iter to the next element. Return the previous value of iter. The behavior is undefined if, on entry, iter has the past‐the‐end value for an iterator of the underlying sequence.

Return Value

previous value of iter

Parameters

Name

Description

iter

iterator to increment

unused

ignored; distinguishes post‐increment

Created with MrDocs