Dune Core Modules (unstable)
indexediterator.hh
3// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
152 friend constexpr difference_type operator- (const IndexedIterator& it1, const IndexedIterator& it2)
constexpr difference_type index() const noexcept
Return the enumeration index.
Definition: indexediterator.hh:164
constexpr IndexedIterator(T *ptr, difference_type index=0)
Construct an IndexedIterator from a pointer and an index.
Definition: indexediterator.hh:135
An iterator mixin that adds an index() method returning an enumeration index for the traversal.
Definition: indexediterator.hh:31
constexpr IndexedIterator & operator++()
Increment the iterator and the index.
Definition: indexediterator.hh:62
constexpr IndexedIterator & operator--()
Decrement the iterator and the index.
Definition: indexediterator.hh:80
constexpr size_type index() const noexcept
Return the enumeration index.
Definition: indexediterator.hh:56
constexpr IndexedIterator() noexcept(std::is_nothrow_default_constructible_v< Iter >)
Default constructor default-constructs the Iter base type and the index by 0.
Definition: indexediterator.hh:43
constexpr IndexedIterator(Iter it, size_type index=0) noexcept(std::is_nothrow_copy_constructible_v< Iter >)
Definition: indexediterator.hh:49
typename Traits::difference_type size_type
Type used for storing the traversal index.
Definition: indexediterator.hh:38
CRTP-Mixing class for stl conformant iterators of given iterator category.
Definition: iteratorfacades.hh:1053
This file implements iterator facade classes for writing stl conformant iterators.
constexpr bool operator==(const HybridMultiIndex< S... > &lhs, const HybridMultiIndex< T... > &rhs)
Compare two HybridMultiIndexs for value equality.
Definition: hybridmultiindex.hh:383
STL namespace.
|
Legal Statements / Impressum |
Hosted by TU Dresden & Uni Heidelberg |
generated with Hugo v0.111.3
(Apr 2, 22:34, 2026)