BloombergLP::bslstl::operator++

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

Synopsis

Declared in <bslstl_hashtableiterator.h>

template<
    class VALUE_TYPE,
    class DIFFERENCE_TYPE>
HashTableIterator<VALUE_TYPE, DIFFERENCE_TYPE>
operator++(
    HashTableIterator<VALUE_TYPE, DIFFERENCE_TYPE>& iter,
    int postfix);

Description

The behavior is undefined unless iter refers to a valid (not yet erased) node in the list.

Return Value

copy of the iterator before it was advanced

Parameters

NameDescription
iteriterator to advance
postfixunused parameter distinguishing the postfix operator