MySQL 8.0.40
Source Code Documentation
stdx::detail::iterator< T > Class Template Reference

#include <span.h>

Public Types

using iterator_category = std::random_access_iterator_tag
 
using reference = typename T::reference
 
using pointer = typename T::pointer
 
using value_type = typename T::value_type
 
using difference_type = typename T::difference_type
 

Public Member Functions

constexpr iterator (pointer data)
 
constexpr iteratoroperator+= (difference_type n)
 
constexpr iterator operator+ (difference_type n)
 
constexpr iteratoroperator-= (difference_type n)
 
constexpr iterator operator- (difference_type n)
 
constexpr iteratoroperator++ ()
 
constexpr iteratoroperator-- ()
 
constexpr iterator operator-- (int)
 
constexpr difference_type operator- (const iterator &other)
 
constexpr reference operator* ()
 
constexpr reference operator[] (difference_type n)
 
constexpr bool operator== (const iterator &other) const
 
constexpr bool operator!= (const iterator &other) const
 
constexpr bool operator< (const iterator &other) const
 
constexpr bool operator> (const iterator &other) const
 
constexpr bool operator>= (const iterator &other) const
 
constexpr bool operator<= (const iterator &other) const
 

Private Attributes

pointer data_
 

Member Typedef Documentation

◆ difference_type

template<class T >
using stdx::detail::iterator< T >::difference_type = typename T::difference_type

◆ iterator_category

template<class T >
using stdx::detail::iterator< T >::iterator_category = std::random_access_iterator_tag

◆ pointer

template<class T >
using stdx::detail::iterator< T >::pointer = typename T::pointer

◆ reference

template<class T >
using stdx::detail::iterator< T >::reference = typename T::reference

◆ value_type

template<class T >
using stdx::detail::iterator< T >::value_type = typename T::value_type

Constructor & Destructor Documentation

◆ iterator()

template<class T >
constexpr stdx::detail::iterator< T >::iterator ( pointer  data)
inlineconstexpr

Member Function Documentation

◆ operator!=()

template<class T >
constexpr bool stdx::detail::iterator< T >::operator!= ( const iterator< T > &  other) const
inlineconstexpr

◆ operator*()

template<class T >
constexpr reference stdx::detail::iterator< T >::operator* ( )
inlineconstexpr

◆ operator+()

template<class T >
constexpr iterator stdx::detail::iterator< T >::operator+ ( difference_type  n)
inlineconstexpr

◆ operator++()

template<class T >
constexpr iterator & stdx::detail::iterator< T >::operator++ ( )
inlineconstexpr

◆ operator+=()

template<class T >
constexpr iterator & stdx::detail::iterator< T >::operator+= ( difference_type  n)
inlineconstexpr

◆ operator-() [1/2]

template<class T >
constexpr difference_type stdx::detail::iterator< T >::operator- ( const iterator< T > &  other)
inlineconstexpr

◆ operator-() [2/2]

template<class T >
constexpr iterator stdx::detail::iterator< T >::operator- ( difference_type  n)
inlineconstexpr

◆ operator--() [1/2]

template<class T >
constexpr iterator & stdx::detail::iterator< T >::operator-- ( )
inlineconstexpr

◆ operator--() [2/2]

template<class T >
constexpr iterator stdx::detail::iterator< T >::operator-- ( int  )
inlineconstexpr

◆ operator-=()

template<class T >
constexpr iterator & stdx::detail::iterator< T >::operator-= ( difference_type  n)
inlineconstexpr

◆ operator<()

template<class T >
constexpr bool stdx::detail::iterator< T >::operator< ( const iterator< T > &  other) const
inlineconstexpr

◆ operator<=()

template<class T >
constexpr bool stdx::detail::iterator< T >::operator<= ( const iterator< T > &  other) const
inlineconstexpr

◆ operator==()

template<class T >
constexpr bool stdx::detail::iterator< T >::operator== ( const iterator< T > &  other) const
inlineconstexpr

◆ operator>()

template<class T >
constexpr bool stdx::detail::iterator< T >::operator> ( const iterator< T > &  other) const
inlineconstexpr

◆ operator>=()

template<class T >
constexpr bool stdx::detail::iterator< T >::operator>= ( const iterator< T > &  other) const
inlineconstexpr

◆ operator[]()

template<class T >
constexpr reference stdx::detail::iterator< T >::operator[] ( difference_type  n)
inlineconstexpr

Member Data Documentation

◆ data_

template<class T >
pointer stdx::detail::iterator< T >::data_
private

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