GCC Middle and Back End API Reference
wrapper_iterator< T, StoredT > Class Template Reference

#include <iterator-utils.h>

Inheritance diagram for wrapper_iterator< T, StoredT >:

Public Types

using value_type = T
 

Public Member Functions

 wrapper_iterator ()=default
 
template<typename... Ts>
 wrapper_iterator (Ts... args)
 
T operator* () const
 
bool operator== (const wrapper_iterator &) const
 
bool operator!= (const wrapper_iterator &) const
 

Protected Attributes

StoredT m_contents
 

Member Typedef Documentation

◆ value_type

template<typename T , typename StoredT = T>
using wrapper_iterator< T, StoredT >::value_type = T

Constructor & Destructor Documentation

◆ wrapper_iterator() [1/2]

template<typename T , typename StoredT = T>
wrapper_iterator< T, StoredT >::wrapper_iterator ( )
default

◆ wrapper_iterator() [2/2]

template<typename T , typename StoredT = T>
template<typename... Ts>
wrapper_iterator< T, StoredT >::wrapper_iterator ( Ts... args)
inline

Member Function Documentation

◆ operator!=()

template<typename T , typename StoredT >
bool wrapper_iterator< T, StoredT >::operator!= ( const wrapper_iterator< T, StoredT > & other) const
inline

◆ operator*()

template<typename T , typename StoredT = T>
T wrapper_iterator< T, StoredT >::operator* ( ) const
inline

◆ operator==()

template<typename T , typename StoredT >
bool wrapper_iterator< T, StoredT >::operator== ( const wrapper_iterator< T, StoredT > & other) const
inline

Field Documentation

◆ m_contents

template<typename T , typename StoredT = T>
StoredT wrapper_iterator< T, StoredT >::m_contents
protected

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