class scope_exit

Declaration

template <typename Callable>
class scope_exit { /* full declaration omitted */ };

Declared at: llvm/include/llvm/ADT/ScopeExit.h:25

Templates

Callable

Method Overview

Methods

void release()

Declared at: llvm/include/llvm/ADT/ScopeExit.h:41

scope_exit<Callable>(scope_exit<Callable>&& Rhs)

Declared at: llvm/include/llvm/ADT/ScopeExit.h:33

Parameters

scope_exit<Callable>&& Rhs

scope_exit<Callable>(const scope_exit<Callable>&)

Declared at: llvm/include/llvm/ADT/ScopeExit.h:37

Parameters

const scope_exit<Callable>&

template <typename Fp>
scope_exit<Callable>(Fp&& F)

Declared at: llvm/include/llvm/ADT/ScopeExit.h:31

Templates

Fp

Parameters

Fp&& F

~scope_exit<Callable>()

Declared at: llvm/include/llvm/ADT/ScopeExit.h:43