Template Class ArrayIterator#
Defined in File arrayIterator.hpp
Class Documentation#
-
template<typename T>
class ArrayIterator# Public Types
-
using IndexType = size_t#
Public Functions
-
ArrayIterator() = delete#
Default constructor should never be used.
-
ArrayIterator(const ArrayIterator &other) = default#
Copy an ArrayIterator object (const)
- Parameters
other – The array to copy
-
ArrayIterator(ArrayIterator &&other) = default#
Constructs an ArrayIterator from a temporary instance
- Parameters
other – The ArrayIterator to move
-
ArrayIterator &operator=(const ArrayIterator &other) = default#
Assigns another ArrayIterator object to this ArrayIterator.
- Parameters
other – The ArrayIterator to assign.
- Returns
A reference to this
-
ArrayIterator &operator++()#
-
bool operator==(const ArrayIterator<T> &other) const#
-
bool operator!=(const ArrayIterator<T> &other) const#
-
auto operator*() const#
-
auto operator*()#
-
ArrayIterator<ArrayIterator<T>> begin() const noexcept#
-
ArrayIterator<ArrayIterator<T>> end() const noexcept#
-
ArrayIterator<ArrayIterator<T>> begin()#
-
ArrayIterator<ArrayIterator<T>> end()#
-
using IndexType = size_t#