Opm::PoisonIterator< T > Struct Template Reference

#include <SparseTable.hpp>

Public Types

using iterator_category = std::input_iterator_tag
 
using value_type = T
 
using difference_type = std::ptrdiff_t
 
using pointer = T *
 
using reference = T &
 

Public Member Functions

 PoisonIterator ()=default
 
reference operator* () const
 
pointer operator-> () const
 
PoisonIteratoroperator++ ()
 
PoisonIterator operator++ (int)
 

Friends

bool operator== (const PoisonIterator &, const PoisonIterator &)
 
bool operator!= (const PoisonIterator &, const PoisonIterator &)
 

Member Typedef Documentation

◆ difference_type

template<class T >
using Opm::PoisonIterator< T >::difference_type = std::ptrdiff_t

◆ iterator_category

template<class T >
using Opm::PoisonIterator< T >::iterator_category = std::input_iterator_tag

◆ pointer

template<class T >
using Opm::PoisonIterator< T >::pointer = T*

◆ reference

template<class T >
using Opm::PoisonIterator< T >::reference = T&

◆ value_type

template<class T >
using Opm::PoisonIterator< T >::value_type = T

Constructor & Destructor Documentation

◆ PoisonIterator()

template<class T >
Opm::PoisonIterator< T >::PoisonIterator ( )
default

Member Function Documentation

◆ operator*()

template<class T >
reference Opm::PoisonIterator< T >::operator* ( ) const
inline

◆ operator++() [1/2]

template<class T >
PoisonIterator & Opm::PoisonIterator< T >::operator++ ( )
inline

◆ operator++() [2/2]

template<class T >
PoisonIterator Opm::PoisonIterator< T >::operator++ ( int  )
inline

◆ operator->()

template<class T >
pointer Opm::PoisonIterator< T >::operator-> ( ) const
inline

Friends And Related Function Documentation

◆ operator!=

template<class T >
bool operator!= ( const PoisonIterator< T > &  ,
const PoisonIterator< T > &   
)
friend

◆ operator==

template<class T >
bool operator== ( const PoisonIterator< T > &  ,
const PoisonIterator< T > &   
)
friend

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