struct pointee_iterator

Declaration

template <typename WrappedIteratorT,
          typename T = std::remove_reference_t<
              decltype(**std::declval<WrappedIteratorT>())>>
struct pointee_iterator { /* full declaration omitted */ };

Description

An iterator type that allows iterating over the pointees via some other iterator. The typical usage of this is to expose a type that iterates over Ts, but which is implemented with some iterator over T*s:

Declared at: llvm/include/llvm/ADT/iterator.h:320

Templates

WrappedIteratorT
T = std::remove_reference_t<decltype(* * std::declval<WrappedIteratorT>())>

Method Overview

Methods

pointee_iterator<WrappedIteratorT, T>()

Declared at: llvm/include/llvm/ADT/iterator.h:325

template <typename U>
pointee_iterator<WrappedIteratorT, T>(U&& u)

Declared at: llvm/include/llvm/ADT/iterator.h:327

Templates

U

Parameters

U&& u