OISEAU
A modern DGTD framework
Loading...
Searching...
No Matches
oiseau::utils::JaggedArray< T >::RowIterator< IsConstIter > Class Template Reference

Public Types

using iterator_category = std::random_access_iterator_tag
using difference_type = std::ptrdiff_t
using value_type
using pointer = value_type*
using reference = value_type
using ParentArrayPtr

Public Member Functions

 RowIterator (ParentArrayPtr parent, std::size_t r_idx)
reference operator* () const
RowIterator & operator++ ()
RowIterator operator++ (int)
RowIterator & operator-- ()
RowIterator operator-- (int)
RowIterator & operator+= (difference_type n)
RowIterator operator+ (difference_type n) const
RowIterator & operator-= (difference_type n)
RowIterator operator- (difference_type n) const
difference_type operator- (const RowIterator &other) const
reference operator[] (difference_type n) const
bool operator== (const RowIterator &other) const
bool operator!= (const RowIterator &other) const
bool operator< (const RowIterator &other) const
bool operator> (const RowIterator &other) const
bool operator<= (const RowIterator &other) const
bool operator>= (const RowIterator &other) const

Friends

RowIterator operator+ (difference_type n, const RowIterator &iter)

Member Typedef Documentation

◆ ParentArrayPtr

template<typename T>
template<bool IsConstIter>
using oiseau::utils::JaggedArray< T >::RowIterator< IsConstIter >::ParentArrayPtr
Initial value:
typename std::conditional<IsConstIter, const JaggedArray<T>*, JaggedArray<T>*>::type

◆ value_type

template<typename T>
template<bool IsConstIter>
using oiseau::utils::JaggedArray< T >::RowIterator< IsConstIter >::value_type
Initial value:
typename std::conditional<IsConstIter, std::span<const T>, std::span<T>>::type

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