class iterator_facade_base::PointerProxy

Declaration

class iterator_facade_base::PointerProxy { /* full declaration omitted */ };

Description

A proxy object for computing a pointer via indirecting a copy of a reference. This is used in APIs which need to produce a pointer but for which the reference might be a temporary. The proxy preserves the reference internally and exposes the pointer via a arrow operator.

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

Member Variables

private ReferenceT R

Method Overview

Methods

ΒΆtemplate <typename RefT>
PointerProxy(RefT&& R)

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

Templates

RefT

Parameters

RefT&& R