Class Array::Iterator¶
- Defined in File Array.h
Nested Relationships¶
This class is a nested type of Template Class Array.
Class Documentation¶
-
class
Iterator
Public Types
-
template<>
usingiterator_category
= std::random_access_iterator_tag
-
template<>
usingvalue_type
= Type
-
template<>
usingdifference_type
= int
-
template<>
usingpointer
= Type *
-
template<>
usingreference
= Type&
Public Functions
-
template<>
Iterator
()
-
template<>
~Iterator
()
-
template<>
Iterator
(const Iterator &other)
-
template<>
Iterator &operator=
(const Iterator &other)
-
template<>
Iterator
(const Array *ptr, int index)
-
template<>
Iterator
(Iterator &&other)
-
template<>
Iterator &operator=
(Iterator &&other)
-
template<>
Iterator &operator++
()
-
template<>
Iteratoroperator++
(int)
-
template<>
Iterator &operator--
()
-
template<>
Iteratoroperator--
(int)
-
template<>
booloperator==
(const Iterator &rhs)
-
template<>
booloperator!=
(const Iterator &rhs)
-
template<>
booloperator<
(const Iterator &rhs)
-
template<>
booloperator<=
(const Iterator &rhs)
-
template<>
booloperator>
(const Iterator &rhs)
-
template<>
booloperator>=
(const Iterator &rhs)
-
template<>
Iteratoroperator+
(const int &idx)
-
template<>
Iterator &operator+=
(const int &idx)
-
template<>
Iteratoroperator-
(const int &idx)
-
template<>
Iterator &operator-=
(const int &idx)
-
template<>
intoperator-
(const Iterator &rhs)
-
template<>
Type &operator*
()
-
template<>
Type *operator->
()
-
template<>
Type &operator[]
(const int &idx)
Friends
-
int
operator-
(const Iterator &lhs, const Iterator &rhs)
-
template<>