LinkedListPool::ListIterator

class LinkedListPool::ListIterator

List iterator.

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

Public Types

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

Public Functions

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

Test if iterator points to valid value.