bsl::List_Iterator

Synopsis

Declared in <bslstl_list.h>

template<class ITER_VALUE>
class List_Iterator;

Type Aliases

NameDescription
difference_type Signed integral type used for iterator distances.
iterator_category bidirectional_iterator_tag for this iterator type.
pointer Pointer to the element type referenced by this iterator.
reference Reference to the element type referenced by this iterator.
value_type Value type referenced by this iterator.

Member Functions

NameDescription
List_Iterator [constructor]Constructors
~List_Iterator [destructor]Default compiler-generated destructor.
operator= Default compiler-generated copy-assignment operator.
operator* Return a reference providing modifiable access to the element referenced by this iterator. 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).
operator++ Increment operators
operator-- Decrement operators
operator-> Return a pointer providing modifiable access to the element referenced by this iterator. 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).

Friends

NameDescription
bsl::operator==Return true if the specified lhs and rhs iterators refer to the same list element or both are the end() iterator of the same list.
bsl::List_Iterator
bsl::listForward declaration required by List_NodeProctor.

Non-Member Functions

NameDescription
operator==Return true if the specified lhs and rhs iterators refer to the same list element or both are the end() iterator of the same list.