#include "diplib.h"
dip::Range::Iterator class

An iterator for the range

Constructors, destructors, assignment and conversion operators

Iterator() defaulted
Default constructor
Iterator(dip::uint index, dip::sint step)
Constructor

Aliases

using iterator_category = std::forward_iterator_tag
Iterator category
using value_type = dip::uint
Type of value iterator references
using reference = dip::sint const&
Type of reference to value
using pointer = dip::sint const*
Type of pointer to value

Operators

auto operator*() const -> dip::Range::Iterator::value_type
Dereference
auto operator->() const -> dip::Range::Iterator::pointer
Dereference
auto operator++() -> dip::Range::Iterator&
Pre-increment
auto operator++(int ) -> dip::Range::Iterator
Post-increment
auto operator==(dip::Range::Iterator const& other) const -> bool
Equality comparison
auto operator!=(dip::Range::Iterator const& other) const -> bool
Inequality comparison