mn::container::basic_array_iterator< T > Class Template Reference
Helper class for array iterators. More...
#include <mn_array.hpp>
Public Types | |
using | iterator_category = bidirectional_iterator_tag |
using | value_type = T |
using | pointer = T * |
using | reference = T & |
using | const_reference = const T & |
using | difference_type = mn::ptrdiff_t |
using | size_type = mn::size_t |
using | self_type = basic_array_iterator< T > |
Public Member Functions | |
basic_array_iterator (pointer _valuePtr, uint32_t pos) noexcept | |
basic_array_iterator (const self_type &other) noexcept | |
basic_array_iterator (const self_type &&other) noexcept | |
bool | operator!= (const self_type &other) const |
bool | operator== (const self_type &other) const |
self_type & | operator++ () |
self_type & | operator-- () |
reference | operator* () |
const_reference | operator* () const |
self_type & | operator= (const self_type &other) noexcept |
reference | operator[] (size_type index) |
const_reference | operator[] (size_type index) const |
Private Attributes | |
pointer | m_valuePtr |
uint32_t | m_iPosition |
Detailed Description
template<typename T>
class mn::container::basic_array_iterator< T >
Helper class for array iterators.
Member Typedef Documentation
◆ const_reference
template<typename T >
using mn::container::basic_array_iterator< T >::const_reference = const T& |
◆ difference_type
template<typename T >
using mn::container::basic_array_iterator< T >::difference_type = mn::ptrdiff_t |
◆ iterator_category
template<typename T >
using mn::container::basic_array_iterator< T >::iterator_category = bidirectional_iterator_tag |
◆ pointer
template<typename T >
using mn::container::basic_array_iterator< T >::pointer = T* |
◆ reference
template<typename T >
using mn::container::basic_array_iterator< T >::reference = T& |
◆ self_type
template<typename T >
using mn::container::basic_array_iterator< T >::self_type = basic_array_iterator<T> |
◆ size_type
template<typename T >
using mn::container::basic_array_iterator< T >::size_type = mn::size_t |
◆ value_type
template<typename T >
using mn::container::basic_array_iterator< T >::value_type = T |
Constructor & Destructor Documentation
◆ basic_array_iterator() [1/3]
template<typename T >
|
inlinenoexcept |
◆ basic_array_iterator() [2/3]
template<typename T >
|
inlinenoexcept |
◆ basic_array_iterator() [3/3]
template<typename T >
|
inlinenoexcept |
Member Function Documentation
◆ operator!=()
template<typename T >
|
inline |
◆ operator*() [1/2]
template<typename T >
|
inline |
◆ operator*() [2/2]
template<typename T >
|
inline |
◆ operator++()
template<typename T >
|
inline |
◆ operator--()
template<typename T >
|
inline |
◆ operator=()
template<typename T >
|
inlinenoexcept |
◆ operator==()
template<typename T >
|
inline |
◆ operator[]() [1/2]
template<typename T >
|
inline |
◆ operator[]() [2/2]
template<typename T >
|
inline |
Member Data Documentation
◆ m_iPosition
template<typename T >
|
private |
◆ m_valuePtr
template<typename T >
|
private |
The documentation for this class was generated from the following file: