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

Copyright (c) Theophilus Eriata. All Rights Reserved. More...

#include <ArrayIterator.h>

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

Public Types

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

Public Member Functions

 const_iterator_base (const ARRAY &deque, size_t uiIndex)
XII_ALWAYS_INLINE const_iterator_base & operator++ ()
XII_ALWAYS_INLINE const_iterator_base & operator-- ()
XII_ALWAYS_INLINE const_iterator_base operator++ (xiiInt32)
XII_ALWAYS_INLINE const_iterator_base operator-- (xiiInt32)
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 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

Protected Attributes

ARRAY * m_pArray
size_t m_uiIndex

Detailed Description

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

Copyright (c) Theophilus Eriata. All Rights Reserved.

Base class for STL like random access iterators


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