Ark Server API (ASA) - Wiki
|
#include <ScopeExit.h>
Public Member Functions | |
TScopeGuard (FuncType &&InFunc) | |
~TScopeGuard () | |
Private Member Functions | |
TScopeGuard (TScopeGuard &&)=delete | |
TScopeGuard (const TScopeGuard &)=delete | |
TScopeGuard & | operator= (TScopeGuard &&)=delete |
TScopeGuard & | operator= (const TScopeGuard &)=delete |
Private Attributes | |
FuncType | Func |
Not meant for direct consumption : use ON_SCOPE_EXIT instead.
RAII class that calls a lambda when it is destroyed.
Definition at line 13 of file ScopeExit.h.
|
privatedelete |
|
privatedelete |
|
inlineexplicit |
Definition at line 22 of file ScopeExit.h.
|
inline |
Definition at line 28 of file ScopeExit.h.
|
privatedelete |
|
privatedelete |
|
private |
Definition at line 35 of file ScopeExit.h.