class scope_exit

Declaration

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

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

Templates

Callable

Member Variables

private Callable ExitFunction
private bool Engaged = true

Method Overview

Methods

void release()

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

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

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

Parameters

scope_exit<Callable>&& Rhs

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

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

Parameters

const scope_exit<Callable>&

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

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

Templates

Fp

Parameters

Fp&& F

~scope_exit<Callable>()

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