A Iterator class for the skip list. More...
#include <skiplist.hpp>
Public Types | |
| using | iterator_category = std::forward_iterator_tag |
| using | value_type = KeyValuePair |
| using | difference_type = std::ptrdiff_t |
| using | pointer = KeyValuePair * |
| using | reference = KeyValuePair & |
Public Member Functions | |
| Iterator (Node *node=nullptr) | |
| reference | operator* () const |
| pointer | operator-> () const |
| Iterator & | operator++ () |
| Iterator | operator++ (int) |
| bool | operator== (const Iterator &other) const |
| bool | operator!= (const Iterator &other) const |
A Iterator class for the skip list.
This class provides an iterator for traversing the skip list.