Bidirectional iterator over elements of a bsl::list.

Synopsis

Declared in <bslstl_list.h>

template<class ITER_VALUE>
class List_Iterator;

Description

Implementation of bsl::list::iterator.

Type Aliases

Name

Description

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

Name

Description

List_Iterator [constructor]

Constructors

~List_Iterator [destructor]

Default compiler‐generated destructor.

operator=

Default compiler‐generated copy‐assignment operator.

operator*

Return a reference to the element referenced by this iterator.

operator++

Increment operators

operator‐‐

Decrement operators

operator‐>

Return a pointer to the element referenced by this iterator.

Friends

Name

Description

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

Bidirectional iterator over elements of a bsl::list.

bsl::list

Forward declaration required by List_NodeProctor.

Non-Member Functions

Name

Description

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.

Created with MrDocs