Advance iter to the next element and return its previous value.

Synopsis

Declared in <bslstl_treeiterator.h>

template<
    class VALUE,
    class NODE,
    class DIFFERENCE_TYPE>
TreeIterator<VALUE, NODE, DIFFERENCE_TYPE>
operator++(
    TreeIterator<VALUE, NODE, DIFFERENCE_TYPE>& iter,
    int postfix);

Description

Move the specified iter to the next element in the tree and return the value of iter prior to this call. The behavior is undefined unless the iterator refers to an element in the tree.

Return Value

previous value of iter before the increment

Parameters

Name

Description

iter

iterator to advance

postfix

unused parameter distinguishing the postfix operator

Created with MrDocs