LinkedListPool::ListIterator

class ListIterator

List iterator.

Iterators don’t get invalidated by adding items to list, but the items may be relocated.

Public Types

template<>
using iterator_category = std::forward_iterator_tag
template<>
using value_type = T
template<>
using difference_type = size_t
template<>
using pointer = T *
template<>
using reference = T&

Public Functions

template<>
ListIterator()
template<>
reference operator*()
template<>
pointer operator->()
template<>
ListIterator &operator++()
template<>
ListIterator operator++(int)
template<>
bool operator!=(const ListIterator &b) const
template<>
operator bool() const

Test if iterator points to valid value.