9#include "../../indexSquaredDistance.h"
25 template <
typename ContainerPtr,
typename Index>
29 using iterator_category = std::input_iterator_tag;
30 using difference_type = std::ptrdiff_t;
31 using value_type = Index;
33 using reference =
const Index&;
43 return m_i !=
other.m_i;
49 return m_i ==
other.m_i;
60 PONCA_MULTIARCH reference
operator*()
const {
return m_data[m_i]; }
71 PONCA_MULTIARCH
inline void operator+=(
const Index
i) { m_i +=
i; }
Aggregator class used to declare specialized structures using CRTP.
Base iterator class for NeighborGraphOneConnectedQuery.
bool operator==(const NeighborGraphOneConnectedIterator &other) const
Equality operand.
Self operator+(const Index i)
Plus operator.
Self operator++(Index)
Postfix increment.
bool operator!=(const NeighborGraphOneConnectedIterator &other) const
Inequality operand.
NeighborGraphOneConnectedIterator & operator++()
Equality operand.
reference operator*() const
Dereference operator.
void operator+=(const Index i)
Value increment.
This Source Code Form is subject to the terms of the Mozilla Public License, v.