MimIR 0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
mim::Sets< D, N >::Set::iterator Class Reference

#include <mim/util/sets.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

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

Friends

class Set
 

Detailed Description

template<class D, size_t N = 16>
class mim::Sets< D, N >::Set::iterator

Definition at line 127 of file sets.h.

Member Typedef Documentation

◆ difference_type

template<class D, size_t N = 16>
using mim::Sets< D, N >::Set::iterator::difference_type = std::ptrdiff_t

Definition at line 143 of file sets.h.

◆ iterator_category

template<class D, size_t N = 16>
using mim::Sets< D, N >::Set::iterator::iterator_category = std::forward_iterator_tag

Definition at line 142 of file sets.h.

◆ pointer

template<class D, size_t N = 16>
using mim::Sets< D, N >::Set::iterator::pointer = D* const*

Definition at line 145 of file sets.h.

◆ reference

template<class D, size_t N = 16>
using mim::Sets< D, N >::Set::iterator::reference = D* const&

Definition at line 146 of file sets.h.

◆ value_type

template<class D, size_t N = 16>
using mim::Sets< D, N >::Set::iterator::value_type = D*

Definition at line 144 of file sets.h.

Constructor & Destructor Documentation

◆ iterator()

template<class D, size_t N = 16>
mim::Sets< D, N >::Set::iterator::iterator ( )
constexprdefaultnoexcept

Member Function Documentation

◆ clear()

template<class D, size_t N = 16>
iterator & mim::Sets< D, N >::Set::iterator::clear ( )
inline

Definition at line 205 of file sets.h.

Referenced by operator++().

◆ operator!=()

template<class D, size_t N = 16>
bool mim::Sets< D, N >::Set::iterator::operator!= ( iterator other) const
inlineconstexprnoexcept

Definition at line 187 of file sets.h.

◆ operator*()

template<class D, size_t N = 16>
reference mim::Sets< D, N >::Set::iterator::operator* ( ) const
inlineconstexprnoexcept

Definition at line 193 of file sets.h.

Referenced by operator->().

◆ operator++() [1/2]

template<class D, size_t N = 16>
iterator & mim::Sets< D, N >::Set::iterator::operator++ ( )
inlineconstexprnoexcept

Definition at line 157 of file sets.h.

References clear().

Referenced by operator++().

◆ operator++() [2/2]

template<class D, size_t N = 16>
iterator mim::Sets< D, N >::Set::iterator::operator++ ( int )
inlineconstexprnoexcept

Definition at line 176 of file sets.h.

References operator++().

◆ operator->()

template<class D, size_t N = 16>
pointer mim::Sets< D, N >::Set::iterator::operator-> ( ) const
inlineconstexprnoexcept

Definition at line 202 of file sets.h.

References operator*().

◆ operator==()

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

Definition at line 186 of file sets.h.

Friends And Related Symbol Documentation

◆ Set

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

Definition at line 211 of file sets.h.

References Set.

Referenced by Set.


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