LLVM  6.0.0svn
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 "llvm/ADT/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 616 of file STLExtras.h.

Member Typedef Documentation

◆ iterator

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 620 of file STLExtras.h.

Constructor & Destructor Documentation

◆ concat_range()

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

Definition at line 636 of file STLExtras.h.

Member Function Documentation

◆ begin()

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

Definition at line 634 of file STLExtras.h.

◆ end()

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

Definition at line 635 of file STLExtras.h.


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