Array Iterators#
-
namespace librapid#
-
namespace detail#
-
template<typename T>
class ArrayIterator - #include <arrayIterator.hpp>
Public Types
-
using IndexType = size_t
Public Functions
-
ArrayIterator() = delete
Default constructor should never be used.
-
explicit ArrayIterator(const T &array)
-
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
-
template<typename T>
-
namespace detail#