GCC Middle and Back End API Reference
derived_iterator< T, BaseIT > Class Template Reference

#include <iterator-utils.h>

Public Types

using value_type = T
 

Public Member Functions

 derived_iterator ()=default
 
template<typename... Ts>
 derived_iterator (Ts... args)
 
derived_iteratoroperator++ ()
 
derived_iterator operator++ (int)
 
T operator* () const
 
Toperator-> () const
 
bool operator== (const derived_iterator &other) const
 
bool operator!= (const derived_iterator &other) const
 

Protected Attributes

BaseIT m_base
 

Member Typedef Documentation

◆ value_type

template<typename T , typename BaseIT >
using derived_iterator< T, BaseIT >::value_type = T

Constructor & Destructor Documentation

◆ derived_iterator() [1/2]

template<typename T , typename BaseIT >
derived_iterator< T, BaseIT >::derived_iterator ( )
default

◆ derived_iterator() [2/2]

template<typename T , typename BaseIT >
template<typename... Ts>
derived_iterator< T, BaseIT >::derived_iterator ( Ts... args)
inlineexplicit

Member Function Documentation

◆ operator!=()

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

◆ operator*()

template<typename T , typename BaseIT >
T derived_iterator< T, BaseIT >::operator* ( ) const
inline

◆ operator++() [1/2]

template<typename T , typename BaseIT >
derived_iterator & derived_iterator< T, BaseIT >::operator++ ( )
inline

◆ operator++() [2/2]

template<typename T , typename BaseIT >
derived_iterator< T, BaseIT > derived_iterator< T, BaseIT >::operator++ ( int )
inline

◆ operator->()

template<typename T , typename BaseIT >
T * derived_iterator< T, BaseIT >::operator-> ( ) const
inline

◆ operator==()

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

Field Documentation

◆ m_base


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