bsl::List_Iterator::operator--

Decrement operators

Synopses

Declared in <bslstl_list.h>

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

List_Iterator<VALUE>&
operator--();
» more...

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

List_Iterator<VALUE>
operator--(int postfix);
» more...

Return Value

  • modifiable reference to this iterator
  • previous value of this iterator

Parameters

NameDescription
postfixunused parameter distinguishing the postfix operator