llvm::DWARFExpression::iterator::PointerProxy

Proxy that yields a pointer from a copied reference.

Synopsis

Declared in <llvm/ADT/iterator.h>

class PointerProxy;

Description

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 an arrow operator.