bsl::List_Iterator::operator->

Return a pointer to the element referenced by this iterator.

Synopsis

Declared in <bslstl_list.h>

bsl::List_Iterator<VALUE>::pointer
operator->() const;

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

pointer to the referenced element