bsl::List_Iterator::operator--

Regress this iterator to the previous element and return its previous value.

Synopsis

Declared in <bslstl_list.h>

List_Iterator<VALUE>
operator--(int postfix);

Description

The behavior is undefined unless this iterator is in the range (begin() .. end()] for some list (i.e., the iterator is not singular, is not begin(), and has not been invalidated).

Return Value

previous value of this iterator

Parameters

NameDescription
postfixunused parameter distinguishing the postfix operator