LLVM  16.0.0git
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 begin () const
 
iterator end ()
 
iterator end () const
 

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 1158 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 1162 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 1185 of file STLExtras.h.

Member Function Documentation

◆ begin() [1/2]

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

Definition at line 1188 of file STLExtras.h.

◆ begin() [2/2]

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

Definition at line 1191 of file STLExtras.h.

◆ end() [1/2]

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

Definition at line 1194 of file STLExtras.h.

◆ end() [2/2]

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

Definition at line 1197 of file STLExtras.h.


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