1#ifndef NE_STL_INCLUDENE_STL_ITERATOR_H
2#define NE_STL_INCLUDENE_STL_ITERATOR_H
8template <
class TElement>
18template <
class TElement>
21template <
class TElement>
104template <
class TElement>
107template <
class TElement>
150template <
class TElement>
153template <
class TElement>
155template <
class TElement>
158template <
class TElement>
226 }
else if (this->
current_.pos_ < i - 1)
238template <
class TElement>
241template <
class TElement>
284template <
class TElement>
Definition ne_stl_iterator.h:22
TElement * pointer
Definition ne_stl_iterator.h:27
_const_iterator operator-(std::size_t i)
Definition ne_stl_iterator.h:62
std::bidirectional_iterator_tag iterator_category
Definition ne_stl_iterator.h:25
_const_iterator & operator--()
Definition ne_stl_iterator.h:45
size_t difference_type
Definition ne_stl_iterator.h:26
TElement & reference
Definition ne_stl_iterator.h:28
const TElement & operator[](int32_t i) const
Definition ne_stl_iterator.h:35
void _subtract(_const_iterator &toReturn, std::size_t i)
Definition ne_stl_iterator.h:96
void _decrement()
Definition ne_stl_iterator.h:77
TElement & retrieve() const
Definition ne_stl_iterator.h:70
_const_iterator operator++(int32_t)
Definition ne_stl_iterator.h:40
_const_iterator operator--(int32_t)
Definition ne_stl_iterator.h:49
_const_iterator()=default
nstd::iterator_type< TElement > current_
Definition ne_stl_iterator.h:69
nstd::iterator_type< TElement > & current()
Definition ne_stl_iterator.h:32
TElement & _randomAccess(std::size_t i) const
Definition ne_stl_iterator.h:83
TElement value_type
Definition ne_stl_iterator.h:24
void _increment()
Definition ne_stl_iterator.h:71
const TElement & operator*() const
Definition ne_stl_iterator.h:34
const nstd::iterator_type< TElement > & current() const
Definition ne_stl_iterator.h:33
_const_iterator & operator++()
Definition ne_stl_iterator.h:36
_const_iterator(nstd::iterator_type< TElement > p)
Definition ne_stl_iterator.h:30
_const_iterator operator+(std::size_t i)
Definition ne_stl_iterator.h:57
bool operator==(const _const_iterator &rhs) const
Definition ne_stl_iterator.h:55
bool operator!=(const _const_iterator &rhs) const
Definition ne_stl_iterator.h:56
void _add(_const_iterator &toReturn, std::size_t i)
Definition ne_stl_iterator.h:89
Definition ne_stl_iterator.h:159
_const_reverse_iterator & operator--()
Definition ne_stl_iterator.h:178
_const_reverse_iterator & operator++()
Definition ne_stl_iterator.h:169
void _subtract(_const_reverse_iterator &toReturn, std::size_t i)
Definition ne_stl_iterator.h:231
const TElement & operator[](int32_t i) const
Definition ne_stl_iterator.h:168
_const_reverse_iterator(nstd::iterator_type< TElement > p)
Definition ne_stl_iterator.h:164
void _increment()
Definition ne_stl_iterator.h:200
_const_reverse_iterator operator--(int32_t)
Definition ne_stl_iterator.h:182
const TElement & operator*() const
Definition ne_stl_iterator.h:167
void _decrement()
Definition ne_stl_iterator.h:209
_const_reverse_iterator operator+(std::size_t i)
Definition ne_stl_iterator.h:188
_const_reverse_iterator operator++(int32_t)
Definition ne_stl_iterator.h:173
void _add(_const_reverse_iterator &toReturn, std::size_t i)
Definition ne_stl_iterator.h:219
_const_reverse_iterator operator-(std::size_t i)
Definition ne_stl_iterator.h:193
_const_reverse_iterator()=default
Definition ne_stl_iterator.h:108
_iterator operator++(int32_t)
Definition ne_stl_iterator.h:124
std::size_t operator-(_iterator right)
Definition ne_stl_iterator.h:148
_iterator operator-(std::size_t i)
Definition ne_stl_iterator.h:143
const TElement & operator[](int32_t i) const
Definition ne_stl_iterator.h:119
_iterator & operator++()
Definition ne_stl_iterator.h:120
const TElement & operator*() const
Definition ne_stl_iterator.h:117
TElement & operator[](int32_t i)
Definition ne_stl_iterator.h:118
_iterator(nstd::iterator_type< TElement > p)
Definition ne_stl_iterator.h:113
_iterator operator--(int32_t)
Definition ne_stl_iterator.h:133
_iterator & operator--()
Definition ne_stl_iterator.h:129
_iterator operator+(std::size_t i)
Definition ne_stl_iterator.h:138
TElement & operator*()
Definition ne_stl_iterator.h:116
Definition ne_stl_iterator.h:242
_reverse_iterator & operator--()
Definition ne_stl_iterator.h:263
const char & operator[](int32_t i) const
Definition ne_stl_iterator.h:253
_reverse_iterator()=default
_reverse_iterator operator+(std::size_t i)
Definition ne_stl_iterator.h:272
_reverse_iterator & operator++()
Definition ne_stl_iterator.h:254
_reverse_iterator operator--(int32_t)
Definition ne_stl_iterator.h:267
const TElement & operator*() const
Definition ne_stl_iterator.h:251
_reverse_iterator(nstd::iterator_type< TElement > p)
Definition ne_stl_iterator.h:247
std::size_t operator-(_reverse_iterator right)
Definition ne_stl_iterator.h:282
TElement & operator[](int32_t i)
Definition ne_stl_iterator.h:252
TElement & operator*()
Definition ne_stl_iterator.h:250
_reverse_iterator operator++(int32_t)
Definition ne_stl_iterator.h:258
_reverse_iterator operator-(std::size_t i)
Definition ne_stl_iterator.h:277
Definition ne_stl_any.h:7
Definition ne_stl_iterator.h:9
std::size_t pos_
Definition ne_stl_iterator.h:12
_iterator_type(TElement *first_=nullptr, const std::size_t *size_=nullptr, std::size_t pos_=0)
Definition ne_stl_iterator.h:13
TElement * first_
Definition ne_stl_iterator.h:10
const std::size_t * size_
Definition ne_stl_iterator.h:11