LLVM: llvm::concat_iterator< ValueT, IterTs > Class Template Reference (original) (raw)

template<typename ValueT, typename... IterTs>
class llvm::concat_iterator< ValueT, IterTs >

Iterator wrapper that concatenates sequences together.

This can concatenate different iterators, even with different types, into a single iterator provided the value types of all the concatenated iterators expose reference and pointer types that can be converted to ValueT & and ValueT * respectively. It doesn't support more interesting/customized pointer or reference types.

Currently this only supports forward or higher iterator categories as inputs and always exposes a forward iterator interface.

Definition at line 997 of file STLExtras.h.