bsl::List_Iterator::operator++

Advance this iterator to the next 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 end(), and has not been invalidated).

Return Value

previous value of this iterator

Parameters

NameDescription
postfixunused parameter distinguishing the postfix operator