#include <bslstl_list.h>
◆ difference_type
◆ iterator_category
◆ pointer
◆ reference
◆ value_type
◆ List_Iterator() [1/3]
Create a singular iterator (i.e., one that cannot be incremented, decremented, or dereferenced until assigned a non-singular value).
◆ List_Iterator() [2/3]
Create an iterator that references the value pointed to by the specified nodePtr. If 0 == nodePtr the iterator will be singular.
◆ List_Iterator() [3/3]
Create an iterator that has the same value as the specified other iterator. If the (template parameter) type VALUE is not const-qualified, then this constructor is the copy constructor; otherwise, the copy constructor is implicitly generated. Note that this method is marked "IMPLICIT" in case it is not the copy constructor.
Note that this means that a List_Iterator<const VALUE> can be copy constructed or assigned to from a List_Iterator<VALUE>, but not vice-versa.
◆ 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++() [1/2]
Advance this iterator to the next element in the list and return its new value. 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++() [2/2]
Advance this iterator to the next element in the list and return its previous value. 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--() [1/2]
Regress this iterator to the previous element in the list and return its new value. 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 begin(), and has not been invalidated).
◆ operator--() [2/2]
Regress this iterator to the previous element in the list and return its previous value. 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 begin(), and has not been invalidated).
◆ 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).
◆ list
template<class VALUE >
template<class LIST_VALUE , class LIST_ALLOCATOR >
◆ List_Iterator
template<class VALUE >
template<class ITER_VALUE >
◆ operator==
template<class VALUE >
template<class T1 , class T2 >
Return true if the specified lhs and rhs iterators have the same value, and false otherwise. Two iterators have the same value if both refer to the same element of the same list or both are the end() iterator of the same list. The behavior is undefined unless both lhs and rhs refer to the same list. Note that the different types T1 and T2 are to facilitate comparisons between const and non-const iterators and there will be a compilation error if T1 and T2 differ in any way other than const-ness.
The documentation for this class was generated from the following file: