Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
Loading...
Searching...
No Matches
Grindstone::Containers::ArrayIterator< T > Struct Template Reference

Public Types

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

Public Member Functions

 ArrayIterator (pointer ptr)
 
reference operator* () const
 
pointer operator-> ()
 
ArrayIteratoroperator++ ()
 
ArrayIterator operator++ (int)
 
ArrayIteratoroperator-- ()
 
ArrayIterator operator-- (int)
 
ArrayIterator operator+ (int offset)
 
ArrayIterator operator- (int offset)
 

Protected Attributes

pointer ptr
 

Friends

bool operator== (const ArrayIterator &a, const ArrayIterator &b)
 
bool operator!= (const ArrayIterator &a, const ArrayIterator &b)
 
bool operator< (const ArrayIterator &l, const ArrayIterator &r)
 
bool operator> (const ArrayIterator &l, const ArrayIterator &r)
 
bool operator<= (const ArrayIterator &l, const ArrayIterator &r)
 
bool operator>= (const ArrayIterator &l, const ArrayIterator &r)
 

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