FE 0.13.1
Header-only C++ frontend library
Loading...
Searching...
No Matches
fe::XTrie< D, K, N >::Set::iterator Class Reference

#include <fe/xtrie.h>

Public Types

Iterator Properties
using iterator_category = std::forward_iterator_tag
using difference_type = std::ptrdiff_t
using value_type = D*
using pointer = D* const*
using reference = D* const&

Public Member Functions

constexpr iterator & clear () noexcept
Construction
constexpr iterator () noexcept=default
Increment
Note
These operations only change the view of this Set; the Set itself is not modified.
constexpr iterator & operator++ () noexcept
constexpr iterator operator++ (int) noexcept
Comparisons
constexpr bool operator== (iterator other) const noexcept
Dereference
constexpr value_type operator* () const noexcept
constexpr value_type operator-> () const noexcept

Friends

class Set

Detailed Description

template<class D, class K, size_t N = 16>
class fe::XTrie< D, K, N >::Set::iterator

Definition at line 178 of file xtrie.h.

Member Typedef Documentation

◆ difference_type

template<class D, class K, size_t N = 16>
using fe::XTrie< D, K, N >::Set::iterator::difference_type = std::ptrdiff_t

Definition at line 194 of file xtrie.h.

◆ iterator_category

template<class D, class K, size_t N = 16>
using fe::XTrie< D, K, N >::Set::iterator::iterator_category = std::forward_iterator_tag

Definition at line 193 of file xtrie.h.

◆ pointer

template<class D, class K, size_t N = 16>
using fe::XTrie< D, K, N >::Set::iterator::pointer = D* const*

Definition at line 196 of file xtrie.h.

◆ reference

template<class D, class K, size_t N = 16>
using fe::XTrie< D, K, N >::Set::iterator::reference = D* const&

Definition at line 197 of file xtrie.h.

◆ value_type

template<class D, class K, size_t N = 16>
using fe::XTrie< D, K, N >::Set::iterator::value_type = D*

Definition at line 195 of file xtrie.h.

Constructor & Destructor Documentation

◆ iterator()

template<class D, class K, size_t N = 16>
fe::XTrie< D, K, N >::Set::iterator::iterator ( )
constexprdefaultnoexcept

Member Function Documentation

◆ clear()

template<class D, class K, size_t N = 16>
iterator & fe::XTrie< D, K, N >::Set::iterator::clear ( )
inlineconstexprnoexcept

Definition at line 255 of file xtrie.h.

Referenced by operator++().

◆ operator*()

template<class D, class K, size_t N = 16>
value_type fe::XTrie< D, K, N >::Set::iterator::operator* ( ) const
inlineconstexprnoexcept

Definition at line 243 of file xtrie.h.

References fe::unreachable().

Referenced by operator->().

◆ operator++() [1/2]

template<class D, class K, size_t N = 16>
iterator & fe::XTrie< D, K, N >::Set::iterator::operator++ ( )
inlineconstexprnoexcept

Definition at line 208 of file xtrie.h.

References clear(), and fe::unreachable().

Referenced by operator++().

◆ operator++() [2/2]

template<class D, class K, size_t N = 16>
iterator fe::XTrie< D, K, N >::Set::iterator::operator++ ( int )
inlineconstexprnoexcept

Definition at line 227 of file xtrie.h.

References operator++().

◆ operator->()

template<class D, class K, size_t N = 16>
value_type fe::XTrie< D, K, N >::Set::iterator::operator-> ( ) const
inlineconstexprnoexcept

Definition at line 252 of file xtrie.h.

References operator*().

◆ operator==()

template<class D, class K, size_t N = 16>
bool fe::XTrie< D, K, N >::Set::iterator::operator== ( iterator other) const
inlineconstexprnoexcept

Definition at line 236 of file xtrie.h.

◆ Set

template<class D, class K, size_t N = 16>
friend class Set
friend

Definition at line 261 of file xtrie.h.

References Set.

Referenced by Set.


The documentation for this class was generated from the following file: