Decrement operators
Synopses
Declared in <bdlc_compactedarray.h>
Decrement iterator and return its prior value (see free operator‐‐).
template<>
PackedIntArrayConstIterator
operator‐‐<>(
PackedIntArrayConstIterator&,
int);
Decrement the specified iterator to refer to the previous location in the referenced array, and return an iterator referring to the original location (before the decrementation). The returned iterator, it, referencing a CompactedArray array, remains valid as long as 0 <= it ‐ array.begin() <= array.length(). The behavior is undefined unless, on entry, CompactedArray_ConstIterator() != iterator and 0 < iterator ‐ array.begin().
template<class TYPE>
bdlc::CompactedArray_ConstIterator<TYPE>
operator‐‐(
CompactedArray_ConstIterator<TYPE>& iterator,
int);
Post‐decrement the specified iterator iter.
template<class TYPE>
bdlc::PackedIntArrayConstIterator<TYPE>
operator‐‐(
PackedIntArrayConstIterator<TYPE>& iter,
int);
Created with MrDocs