tvm
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | List of all members
tvm::support::Span< T, W >::iterator_base< W1 > Class Template Reference

#include <span.h>

Collaboration diagram for tvm::support::Span< T, W >::iterator_base< W1 >:

Public Types

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

Public Member Functions

 iterator_base (T *ptr, T *end)
 
W1 operator* ()
 
iterator_base< W1 > & operator++ ()
 
bool operator== (iterator_base< W1 > other)
 
bool operator!= (iterator_base< W1 > other)
 
template<class X = W1, typename = std::enable_if_t<!std::is_const<X>::value>>
 operator iterator_base< const_W > () const
 

Member Typedef Documentation

◆ difference_type

template<class T , class W >
template<class W1 >
using tvm::support::Span< T, W >::iterator_base< W1 >::difference_type = std::ptrdiff_t

◆ iterator_category

template<class T , class W >
template<class W1 >
using tvm::support::Span< T, W >::iterator_base< W1 >::iterator_category = std::input_iterator_tag

◆ pointer

template<class T , class W >
template<class W1 >
using tvm::support::Span< T, W >::iterator_base< W1 >::pointer = const W*

◆ reference

template<class T , class W >
template<class W1 >
using tvm::support::Span< T, W >::iterator_base< W1 >::reference = const W&

◆ value_type

template<class T , class W >
template<class W1 >
using tvm::support::Span< T, W >::iterator_base< W1 >::value_type = W

Constructor & Destructor Documentation

◆ iterator_base()

template<class T , class W >
template<class W1 >
tvm::support::Span< T, W >::iterator_base< W1 >::iterator_base ( T *  ptr,
T *  end 
)
inline

Member Function Documentation

◆ operator iterator_base< const_W >()

template<class T , class W >
template<class W1 >
template<class X = W1, typename = std::enable_if_t<!std::is_const<X>::value>>
tvm::support::Span< T, W >::iterator_base< W1 >::operator iterator_base< const_W > ( ) const
inline

◆ operator!=()

template<class T , class W >
template<class W1 >
bool tvm::support::Span< T, W >::iterator_base< W1 >::operator!= ( iterator_base< W1 >  other)
inline

◆ operator*()

template<class T , class W >
template<class W1 >
W1 tvm::support::Span< T, W >::iterator_base< W1 >::operator* ( )
inline

◆ operator++()

template<class T , class W >
template<class W1 >
iterator_base<W1>& tvm::support::Span< T, W >::iterator_base< W1 >::operator++ ( )
inline

◆ operator==()

template<class T , class W >
template<class W1 >
bool tvm::support::Span< T, W >::iterator_base< W1 >::operator== ( iterator_base< W1 >  other)
inline

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