LLVM  4.0.0
Public Types | Public Member Functions | List of all members
llvm::detail::concat_range< ValueT, RangeTs > Class Template Reference

Helper to store a sequence of ranges being concatenated and access them. More...

#include <STLExtras.h>

Public Types

typedef concat_iterator
< ValueT, decltype(std::begin(std::declval
< RangeTs & >)))...> 
iterator
 

Public Member Functions

iterator begin ()
 
iterator end ()
 
 concat_range (RangeTs &&...Ranges)
 

Detailed Description

template<typename ValueT, typename... RangeTs>
class llvm::detail::concat_range< ValueT, RangeTs >

Helper to store a sequence of ranges being concatenated and access them.

This is designed to facilitate providing actual storage when temporaries are passed into the constructor such that we can use it as part of range based for loops.

Definition at line 548 of file STLExtras.h.

Member Typedef Documentation

template<typename ValueT , typename... RangeTs>
typedef concat_iterator<ValueT, decltype(std::begin(std::declval<RangeTs &>)))...> llvm::detail::concat_range< ValueT, RangeTs >::iterator

Definition at line 552 of file STLExtras.h.

Constructor & Destructor Documentation

template<typename ValueT , typename... RangeTs>
llvm::detail::concat_range< ValueT, RangeTs >::concat_range ( RangeTs &&...  Ranges)
inline

Definition at line 568 of file STLExtras.h.

Member Function Documentation

template<typename ValueT , typename... RangeTs>
iterator llvm::detail::concat_range< ValueT, RangeTs >::begin ( )
inline

Definition at line 566 of file STLExtras.h.

template<typename ValueT , typename... RangeTs>
iterator llvm::detail::concat_range< ValueT, RangeTs >::end ( )
inline

Definition at line 567 of file STLExtras.h.


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