Skip to content

iris::Array< V, D >::Iterator Class Reference

Doxygen 1.15.0 generates this reference during each site build from the public headers. The C++ guide shows the API in use.

An iterator over the elements. More...

#include <iris/handle.hpp>

Public Types

using iterator_category = std::input_iterator_tag
 The iterator's category: an input iterator.
using value_type = Element
 The type of the elements.
using difference_type = std::ptrdiff_t
 The type of the distance between two iterators.

Public Member Functions

Element operator* () const
 Return the current element.
Iterator & operator++ ()
 Move to the next element.
Iterator operator++ (int)
 Move to the next element.

Detailed Description

template<HandleValue V, std::size_t D>
class iris::Array< V, D >::Iterator

An iterator over the elements.

Member Typedef Documentation

difference_type

template<HandleValue V, std::size_t D>
using iris::Array< V, D >::Iterator::difference_type = std::ptrdiff_t

The type of the distance between two iterators.

iterator_category

template<HandleValue V, std::size_t D>
using iris::Array< V, D >::Iterator::iterator_category = std::input_iterator_tag

The iterator's category: an input iterator.

value_type

template<HandleValue V, std::size_t D>
using iris::Array< V, D >::Iterator::value_type = Element

The type of the elements.

Member Function Documentation

operator*()

template<HandleValue V, std::size_t D>
Element iris::Array< V, D >::Iterator::operator* ( ) const
inline

Return the current element.

operator++() [1/2]

template<HandleValue V, std::size_t D>
Iterator & iris::Array< V, D >::Iterator::operator++ ( )
inline

Move to the next element.

operator++() [2/2]

template<HandleValue V, std::size_t D>
Iterator iris::Array< V, D >::Iterator::operator++ ( int )
inline

Move to the next element.