ROSE 0.11.145.147
Public Member Functions | List of all members
Rose::iterator_range< IteratorT > Class Template Reference

Description

template<typename IteratorT>
class Rose::iterator_range< IteratorT >

A range adaptor for a pair of iterators.

This just wraps two iterators into a range-compatible interface. Nothing fancy at all.

Definition at line 91 of file plugin.h.

#include <midend/astProcessing/plugin.h>

Public Member Functions

template<typename Container >
 iterator_range (Container &c)
 
 iterator_range (IteratorT begin_iterator, IteratorT end_iterator)
 
IteratorT begin () const
 
IteratorT end () const
 

Constructor & Destructor Documentation

◆ iterator_range() [1/2]

template<typename IteratorT >
template<typename Container >
Rose::iterator_range< IteratorT >::iterator_range ( Container &  c)
inline

Definition at line 98 of file plugin.h.

◆ iterator_range() [2/2]

template<typename IteratorT >
Rose::iterator_range< IteratorT >::iterator_range ( IteratorT  begin_iterator,
IteratorT  end_iterator 
)
inline

Definition at line 101 of file plugin.h.

Member Function Documentation

◆ begin()

template<typename IteratorT >
IteratorT Rose::iterator_range< IteratorT >::begin ( ) const
inline

Definition at line 105 of file plugin.h.

◆ end()

template<typename IteratorT >
IteratorT Rose::iterator_range< IteratorT >::end ( ) const
inline

Definition at line 106 of file plugin.h.


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