class iterator_facade_base::ReferenceProxy

Declaration

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

Description

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

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

Member Variables

private DerivedT I

Method Overview

Methods

ReferenceProxy(DerivedT I)

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

Parameters

DerivedT I

ReferenceT operator type - parameter - 0 -
    5() const

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