BloombergLP::bslstl::operator--

Decrement operators

Synopses

Declared in <bslstl_bidirectionaliterator.h>

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.

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);
» more...

Decrement the specified iter to 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.

template<
    class T,
    class ITER_IMP,
    class TAG_TYPE>
bslstl::RandomAccessIterator<T, ITER_IMP, TAG_TYPE>
operator--(
    RandomAccessIterator<T, ITER_IMP, TAG_TYPE>& iter,
    int);
» more...

Move the specified iter to the previous element in the tree and return the value of iter prior to this call. The behavior is undefined unless the iterator refers to the past-the-end or the non-leftmost element in the tree.

template<
    class VALUE,
    class NODE,
    class DIFFERENCE_TYPE>
TreeIterator<VALUE, NODE, DIFFERENCE_TYPE>
operator--(
    TreeIterator<VALUE, NODE, DIFFERENCE_TYPE>& iter,
    int);
» more...