Post-decrement the specified iterator and return its previous value.
Declared in <bslstl_bidirectionaliterator.h>
template<
class T,
class ITER_IMP,
class TAG_TYPE>
bslstl::BidirectionalIterator<T, ITER_IMP, TAG_TYPE>
operator--(
BidirectionalIterator<T, ITER_IMP, TAG_TYPE>& iter,
int unused);
Decrement the specified iter to the previous element. Return the previous value of iter. The behavior is undefined if, on entry, iter has the same value as an iterator to the start of the underlying sequence.
previous value of iter
| Name | Description |
|---|---|
| iter | iterator to decrement |
| unused | ignored; distinguishes post-decrement |