Move iter to the previous element and return its previous value.
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);
Move the specified iter to the previous element in the tree and return the value of iter prior to this call. The behavior is undefined unless the iterator refers to the past-the-end or the non-leftmost element in the tree.
previous value of iter before the decrement
| Name | Description |
|---|---|
| iter | iterator to decrement |
| postfix | unused parameter distinguishing the postfix operator |