GCC Middle and Back End API Reference
list_iterator< T, Next > Class Template Reference

#include <iterator-utils.h>

Inheritance diagram for list_iterator< T, Next >:
Collaboration diagram for list_iterator< T, Next >:

Public Types

using value_type
 

Public Member Functions

list_iteratoroperator++ ()
 
list_iterator operator++ (int)
 
T operator* () const
 
bool operator== (const wrapper_iterator &) const
 
bool operator!= (const wrapper_iterator &) const
 

Protected Attributes

T m_contents
 

Private Types

using parent = wrapper_iterator<T *>
 

Member Typedef Documentation

◆ parent

template<typename T , T *(T::*)() const Next>
using list_iterator< T, Next >::parent = wrapper_iterator<T *>
private

◆ value_type

using wrapper_iterator< T, T >::value_type
inherited

Member Function Documentation

◆ operator!=()

bool wrapper_iterator< T, T >::operator!= ( const wrapper_iterator< T * > & other) const
inlineinherited

◆ operator*()

T wrapper_iterator< T, T >::operator* ( ) const
inlineinherited

◆ operator++() [1/2]

template<typename T , T *(T::*)() const Next>
list_iterator< T, Next > & list_iterator< T, Next >::operator++ ( )
inline

◆ operator++() [2/2]

template<typename T , T *(T::*)() const Next>
list_iterator< T, Next > list_iterator< T, Next >::operator++ ( int )
inline

◆ operator==()

bool wrapper_iterator< T, T >::operator== ( const wrapper_iterator< T * > & other) const
inlineinherited

Field Documentation

◆ m_contents

T wrapper_iterator< T, T >::m_contents
protectedinherited

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