Dedekind 0.0.0
A structuralist C++23 Module Library
Loading...
Searching...
No Matches
dedekind::sequences::Path< T, Cardinality, Index >::const_iterator Struct Reference
Collaboration diagram for dedekind::sequences::Path< T, Cardinality, Index >::const_iterator:

Public Types

using iterator_concept = std::random_access_iterator_tag
using iterator_category = std::random_access_iterator_tag
using value_type = T
using difference_type = std::ptrdiff_t
using reference = T

Public Member Functions

constexpr reference operator* () const
constexpr reference operator[] (difference_type n) const
constexpr const_iterator & operator++ ()
constexpr const_iterator operator++ (int)
constexpr const_iterator & operator-- ()
constexpr const_iterator operator-- (int)
constexpr const_iterator & operator+= (difference_type n)
constexpr const_iterator & operator-= (difference_type n)

Public Attributes

const Path * owner = nullptr
std::size_t index = 0

Friends

constexpr const_iterator operator+ (const const_iterator &it, difference_type n)
constexpr const_iterator operator+ (difference_type n, const const_iterator &it)
constexpr const_iterator operator- (const const_iterator &it, difference_type n)
constexpr difference_type operator- (const const_iterator &lhs, const const_iterator &rhs)
constexpr bool operator== (const const_iterator &lhs, const const_iterator &rhs)
constexpr bool operator< (const const_iterator &lhs, const const_iterator &rhs)
constexpr bool operator> (const const_iterator &lhs, const const_iterator &rhs)
constexpr bool operator<= (const const_iterator &lhs, const const_iterator &rhs)
constexpr bool operator>= (const const_iterator &lhs, const const_iterator &rhs)

The documentation for this struct was generated from the following file:
  • src/main/modules/dedekind/sequences/path.cppm