Template Class array::array_iterator

Nested Relationships

This class is a nested type of Template Class array.

Class Documentation

template <typename U>
class array_iterator

Public Types

template<>
template<>
using reference = typename array<T, N>::template ArrayRef<U>
template<>
template<>
using pointer = typename array::pointer
template<>
template<>
using difference_type = std::ptrdiff_t
template<>
template<>
using value_type = typename array::value_type
template<>
template<>
using iterator_category = std::random_access_iterator_tag
template<>
template<>
using local_iterator_type = pointer
template<>
template<>
using distribution_range = std::vector<std::pair<rt::Locality, size_t>>

Public Functions

template<>
array_iterator(rt::Locality &&l, difference_type offset, ObjectID oid, pointer chunk)

Constructor.

template<>
array_iterator()

Default constructor.

template<>
array_iterator(const array_iterator &O)

Copy constructor.

template<>
array_iterator(const array_iterator &&O)

Move constructor.

template<>
array_iterator &operator=(const array_iterator &O)

Copy assignment operator.

template<>
array_iterator &operator=(array_iterator &&O)

Move assignment operator.

template<>
bool operator==(const array_iterator &O) const
template<>
bool operator!=(const array_iterator &O) const
template<>
reference operator*()
template<>
array_iterator &operator++()
template<>
array_iterator operator++(int)
template<>
array_iterator &operator--()
template<>
array_iterator operator--(int)
template<>
array_iterator &operator+=(difference_type n)
template<>
array_iterator &operator-=(difference_type n)
template<>
array_iterator operator+(difference_type n)
template<>
array_iterator operator-(difference_type n)
template<>
difference_type operator-(const array_iterator &O) const
template<>
bool operator<(const array_iterator &O) const
template<>
bool operator>(const array_iterator &O) const
template<>
bool operator<=(const array_iterator &O) const
template<>
bool operator>=(const array_iterator &O) const

Public Static Functions

template<>
static local_iterator_range local_range(array_iterator &B, array_iterator &E)
template<>
static distribution_range distribution(array_iterator &begin, array_iterator &end)
template<>
static rt::localities_range localities(array_iterator &B, array_iterator &E)
template<>
static array_iterator iterator_from_local(array_iterator &B, array_iterator &E, local_iterator_type itr)

Friends

std::ostream &operator<<(std::ostream &stream, const array_iterator i)
class local_iterator_range

Public Functions

template<>
template<>
local_iterator_range(local_iterator_type B, local_iterator_type E)
template<>
template<>
local_iterator_type begin()
template<>
template<>
local_iterator_type end()