[#BloombergLP-bslstl-operator_inc-0d9] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::operator++ :relfileprefix: ../../ :mrdocs: Move the specified `iterator` to the next element and return its prior value. == Synopsis Declared in `<bslstl_hashtablebucketiterator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class VALUE_TYPE, class DIFFERENCE_TYPE> xref:BloombergLP/bslstl/HashTableBucketIterator.adoc[HashTableBucketIterator<VALUE_TYPE, DIFFERENCE_TYPE>] operator++( xref:BloombergLP/bslstl/HashTableBucketIterator.adoc[HashTableBucketIterator<VALUE_TYPE, DIFFERENCE_TYPE>]& iterator, int postfix); ---- == Description The behavior is undefined unless `iterator` refers to a valid (not yet erased) element in a bucket. Note that `iterator` is invalidated when the underlying hash table is rehashed. == Return Value copy of `iterator` prior to advancement == Parameters [cols="1,4"] |=== | Name| Description | *iterator* | iterator to advance | *postfix* | unused parameter distinguishing the postfix operator |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#