Advance iter and return its prior value.
Synopsis
Declared in <bdlc_packedintarray.h>
template<class TYPE>
bdlc::PackedIntArrayConstIterator<TYPE>
operator++(
PackedIntArrayConstIterator<TYPE>& iter,
int unused);
Description
Advance the specified iterator iter to refer to the next element in the referenced array, and return an iterator referring to the original element (before the advancement). The returned iterator, it, referencing an element within a PackedIntArray, array, remains valid as long as 0 <= it ‐ array.begin() <= array.length(). The behavior is undefined unless, on entry, PackedIntArrayConstInterator() != iter and iter ‐ array.begin() < array.length().
Specializations
Name |
Description |
Advance |
Return Value
iterator referring to the prior position
Parameters
Name |
Description |
iter |
iterator to advance |
unused |
unused parameter distinguishing post‐increment |
Created with MrDocs