LLVM API Documentation

Public Member Functions
llvm::iterator_range< IteratorT > Class Template Reference

A range adaptor for a pair of iterators. More...

#include <iterator_range.h>

List of all members.

Public Member Functions

 iterator_range ()
 iterator_range (IteratorT begin_iterator, IteratorT end_iterator)
IteratorT begin () const
IteratorT end () const

Detailed Description

template<typename IteratorT>
class llvm::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 31 of file iterator_range.h.


Constructor & Destructor Documentation

template<typename IteratorT>
llvm::iterator_range< IteratorT >::iterator_range ( ) [inline]

Definition at line 35 of file iterator_range.h.

template<typename IteratorT>
llvm::iterator_range< IteratorT >::iterator_range ( IteratorT  begin_iterator,
IteratorT  end_iterator 
) [inline]

Definition at line 36 of file iterator_range.h.


Member Function Documentation

template<typename IteratorT>
IteratorT llvm::iterator_range< IteratorT >::begin ( ) const [inline]

Definition at line 40 of file iterator_range.h.

Referenced by llvm::SmallVector< Inst, 7 >::SmallVector().

template<typename IteratorT>
IteratorT llvm::iterator_range< IteratorT >::end ( ) const [inline]

Definition at line 41 of file iterator_range.h.

Referenced by llvm::SmallVector< Inst, 7 >::SmallVector().


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