gz-cpp-util 1.3
A c++20 library containing various utilities
gz::Iterator< T > Struct Template Reference

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
 
Iteratoroperator= (const Iterator &other)
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
bool operator== (const Iterator &other) const
 

Private Attributes

T * ptr
 

Friends

int operator- (Iterator lhs, Iterator rhs)
 

Detailed Description

template<typename T>
struct gz::Iterator< T >

A generic iterator that satisfies std::forward_iterator.


The documentation for this struct was generated from the following file: