LLVM  8.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

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

Public Member Functions

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

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

Member Typedef Documentation

◆ iterator

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

Definition at line 776 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 790 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 793 of file STLExtras.h.

◆ end()

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

Definition at line 794 of file STLExtras.h.


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