LLVM  6.0.0svn
llvm::function_ref< Fn > Class Template Reference

An efficient, type-erasing, non-owning reference to a callable. More...

#include "llvm/ADT/STLExtras.h"

Inheritance diagram for llvm::function_ref< Fn >:
Inheritance graph
[legend]

Detailed Description

template<typename Fn>
class llvm::function_ref< Fn >

An efficient, type-erasing, non-owning reference to a callable.

This is intended for use as the type of a function parameter that is not used after the function in question returns.

This class does not own the callable, so it is not in general safe to store a function_ref.

Definition at line 87 of file STLExtras.h.


The documentation for this class was generated from the following file: