bsl::List_Iterator::operator++

Increment operators

Synopses

Declared in <bslstl_list.h>

Advance this iterator to the next element and return its new value.

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

Advance this iterator to the next 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