XII Release 0.1.0
Loading...
Searching...
No Matches
iterator_base< ARRAY, T, reverse > Struct Template Reference

Non-const STL like iterators. More...

#include <ArrayIterator.h>

Inheritance diagram for iterator_base< ARRAY, T, reverse >:
[legend]

Public Types

using pointer = T*
using reference = T&
Public Types inherited from const_iterator_base< ARRAY, T, false >
using iterator_category
using value_type
using difference_type
using pointer
using reference

Public Member Functions

 iterator_base (ARRAY &ref_deque, size_t uiIndex)
XII_ALWAYS_INLINE iterator_base & operator++ ()
XII_ALWAYS_INLINE iterator_base & operator-- ()
XII_ALWAYS_INLINE iterator_base operator++ (xiiInt32)
XII_ALWAYS_INLINE iterator_base operator-- (xiiInt32)
XII_ALWAYS_INLINE iterator_base operator+ (std::ptrdiff_t rhs) const
XII_ALWAYS_INLINE iterator_base operator- (std::ptrdiff_t rhs) const
T & operator* () const
XII_ALWAYS_INLINE T * operator-> () const
XII_ALWAYS_INLINE T & operator[] (size_t uiIndex) const
Public Member Functions inherited from const_iterator_base< ARRAY, T, false >
XII_ALWAYS_INLINE const_iterator_base & operator++ ()
XII_ALWAYS_INLINE const_iterator_base & operator-- ()
XII_ALWAYS_INLINE bool operator== (const const_iterator_base &rhs) const
XII_ALWAYS_INLINE std::ptrdiff_t operator- (const const_iterator_base &rhs) const
XII_ALWAYS_INLINE const_iterator_base operator+ (std::ptrdiff_t rhs) const
XII_ALWAYS_INLINE void operator+= (std::ptrdiff_t rhs)
XII_ALWAYS_INLINE void operator-= (std::ptrdiff_t rhs)
const T & operator* () const
XII_ALWAYS_INLINE const T * operator-> () const
XII_ALWAYS_INLINE std::strong_ordering operator<=> (const const_iterator_base &rhs) const
XII_ALWAYS_INLINE const T & operator[] (size_t uiIndex) const

Additional Inherited Members

Protected Attributes inherited from const_iterator_base< ARRAY, T, false >
ARRAY * m_pArray
size_t m_uiIndex

Detailed Description

template<class ARRAY, class T, bool reverse = false>
struct iterator_base< ARRAY, T, reverse >

Non-const STL like iterators.


The documentation for this struct was generated from the following file:
  • /home/runner/work/XII/XII/Source/Engine/Foundation/Containers/Implementation/ArrayIterator.h