Class Array::Iterator

Nested Relationships

This class is a nested type of Template Class Array.

Class Documentation

class Iterator

Public Types

template<>
using iterator_category = std::random_access_iterator_tag
template<>
using value_type = Type
template<>
using difference_type = int
template<>
using pointer = Type *
template<>
using reference = 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<>
Iterator operator++(int)
template<>
Iterator &operator--()
template<>
Iterator operator--(int)
template<>
bool operator==(const Iterator &rhs)
template<>
bool operator!=(const Iterator &rhs)
template<>
bool operator<(const Iterator &rhs)
template<>
bool operator<=(const Iterator &rhs)
template<>
bool operator>(const Iterator &rhs)
template<>
bool operator>=(const Iterator &rhs)
template<>
Iterator operator+(const int &idx)
template<>
Iterator &operator+=(const int &idx)
template<>
Iterator operator-(const int &idx)
template<>
Iterator &operator-=(const int &idx)
template<>
int operator-(const Iterator &rhs)
template<>
Type &operator*()
template<>
Type *operator->()
template<>
Type &operator[](const int &idx)

Friends

int operator-(const Iterator &lhs, const Iterator &rhs)