MySQL  8.0.18
Source Code Documentation
List_STL_Iterator< T > Class Template Reference

#include <sql_list.h>

Public Types

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

Public Member Functions

 List_STL_Iterator (list_node *node)
 
T & operator* () const
 
List_STL_Iteratoroperator++ ()
 
bool operator== (const List_STL_Iterator &other) const
 
bool operator!= (const List_STL_Iterator &other) const
 
T * operator-> () const
 
 List_STL_Iterator ()
 
List_STL_Iterator operator++ (int)
 

Private Attributes

list_nodem_current
 

Member Typedef Documentation

◆ difference_type

template<class T >
using List_STL_Iterator< T >::difference_type = ptrdiff_t

◆ iterator_category

template<class T >
using List_STL_Iterator< T >::iterator_category = std::forward_iterator_tag

◆ pointer

template<class T >
using List_STL_Iterator< T >::pointer = T *

◆ reference

template<class T >
using List_STL_Iterator< T >::reference = T &

◆ value_type

template<class T >
using List_STL_Iterator< T >::value_type = T

Constructor & Destructor Documentation

◆ List_STL_Iterator() [1/2]

template<class T >
List_STL_Iterator< T >::List_STL_Iterator ( list_node node)
inlineexplicit

◆ List_STL_Iterator() [2/2]

template<class T >
List_STL_Iterator< T >::List_STL_Iterator ( )
inline

Member Function Documentation

◆ operator!=()

template<class T >
bool List_STL_Iterator< T >::operator!= ( const List_STL_Iterator< T > &  other) const
inline

◆ operator*()

template<class T >
T& List_STL_Iterator< T >::operator* ( ) const
inline

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

◆ operator->()

template<class T >
T* List_STL_Iterator< T >::operator-> ( ) const
inline

◆ operator==()

template<class T >
bool List_STL_Iterator< T >::operator== ( const List_STL_Iterator< T > &  other) const
inline

Member Data Documentation

◆ m_current

template<class T >
list_node* List_STL_Iterator< T >::m_current
private

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