LinkedListPool::ListIterator¶
-
class 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¶
-
inline ListIterator &operator++()¶
-
inline ListIterator operator++(int)¶
-
inline bool operator!=(const ListIterator &b) const¶
-
inline explicit operator bool() const¶
Test if iterator points to valid value.
-
using iterator_category = std::forward_iterator_tag¶