AI Engine API User Guide (AIE) 2023.2
Loading...
Searching...
No Matches
aie::detail::iterator< Span > Class Template Reference

#include <mdspan.hpp>

Public Types

using difference_type = ptrdiff_t
 
using iterator_category = std::forward_iterator_tag
 
using pointer = typename Span::pointer
 
using reference = typename Span::reference
 
using value_type = typename Span::value_type
 

Public Member Functions

constexpr iterator (pointer ptr)
 
constexpr bool operator!= (const iterator &rhs)
 
constexpr reference operator* ()
 
constexpr iterator operator++ ()
 
constexpr iterator operator++ (int)
 
constexpr pointer operator-> ()
 
constexpr bool operator== (const iterator &rhs)
 

Member Typedef Documentation

◆ difference_type

template<typename Span >
using aie::detail::iterator< Span >::difference_type = ptrdiff_t

◆ iterator_category

template<typename Span >
using aie::detail::iterator< Span >::iterator_category = std::forward_iterator_tag

◆ pointer

template<typename Span >
using aie::detail::iterator< Span >::pointer = typename Span::pointer

◆ reference

template<typename Span >
using aie::detail::iterator< Span >::reference = typename Span::reference

◆ value_type

template<typename Span >
using aie::detail::iterator< Span >::value_type = typename Span::value_type

Constructor & Destructor Documentation

◆ iterator()

template<typename Span >
constexpr aie::detail::iterator< Span >::iterator ( pointer  ptr)
inlineconstexpr

Member Function Documentation

◆ operator!=()

template<typename Span >
constexpr bool aie::detail::iterator< Span >::operator!= ( const iterator< Span > &  rhs)
inlineconstexpr

◆ operator*()

template<typename Span >
constexpr reference aie::detail::iterator< Span >::operator* ( )
inlineconstexpr

◆ operator++() [1/2]

template<typename Span >
constexpr iterator aie::detail::iterator< Span >::operator++ ( )
inlineconstexpr

◆ operator++() [2/2]

template<typename Span >
constexpr iterator aie::detail::iterator< Span >::operator++ ( int  )
inlineconstexpr

◆ operator->()

template<typename Span >
constexpr pointer aie::detail::iterator< Span >::operator-> ( )
inlineconstexpr

◆ operator==()

template<typename Span >
constexpr bool aie::detail::iterator< Span >::operator== ( const iterator< Span > &  rhs)
inlineconstexpr

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