[#BloombergLP-bslstl-operator_inc-02] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::operator++ :relfileprefix: ../../ :mrdocs: Advance `iter` to the next element and return its previous value. == Synopsis Declared in `<bslstl_treeiterator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE, class NODE, class DIFFERENCE_TYPE> xref:BloombergLP/bslstl/TreeIterator.adoc[TreeIterator<VALUE, NODE, DIFFERENCE_TYPE>] operator++( xref:BloombergLP/bslstl/TreeIterator.adoc[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 [cols="1,4"] |=== | Name| Description | *iter* | iterator to advance | *postfix* | unused parameter distinguishing the postfix operator |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#