Decrement iterator and return a copy of its previous value.
Declared in <bdlb_transformiterator.h>
template<
class FUNCTOR,
class ITERATOR>
bdlb::TransformIterator<FUNCTOR, ITERATOR>
operator--(
TransformIterator<FUNCTOR, ITERATOR>& iterator,
int postfix);
Decrement the underlying iterator of the specified iterator, and return a copy of iterator before the decrement. The behavior is undefined if decrementing the underlying iterator is undefined.
a copy of iterator before the decrement
| Name | Description |
|---|---|
| iterator | transform iterator to decrement |
| postfix | unused parameter distinguishing the postfix operator |