gz-cpp-util 1.3
A c++20 library containing various utilities
|
A generic iterator that satisfies std::forward_iterator. More...
#include <iterator.hpp>
Public Types | |
using | value_type = T |
Public Member Functions | |
Iterator (T *ptr) | |
T & | operator* () const |
Iterator & | operator= (const Iterator &other) |
Iterator & | operator++ () |
Iterator | operator++ (int) |
bool | operator== (const Iterator &other) const |
Private Attributes | |
T * | ptr |
Friends | |
int | operator- (Iterator lhs, Iterator rhs) |
A generic iterator that satisfies std::forward_iterator.