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
 
T operator* () const
 
bool operator== (const wrapper_iterator &) const
 
bool operator== (const wrapper_iterator &) const
 
bool operator!= (const wrapper_iterator &) const
 
bool operator!= (const wrapper_iterator &) const
 

Protected Attributes

T m_contents
 
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!=() [1/2]

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

References wrapper_iterator().

◆ operator!=() [2/2]

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

◆ operator*() [1/2]

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

References m_contents, and T.

◆ operator*() [2/2]

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==() [1/2]

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

References wrapper_iterator().

◆ operator==() [2/2]

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

Field Documentation

◆ m_contents [1/2]

◆ m_contents [2/2]

T wrapper_iterator< T, T >::m_contents
protectedinherited

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