|
Executes a given function on scope exit. More...
#include <ArmarXCore/core/util/OnScopeExit.h>
Public Member Functions | |
ScopeGuard (const FunctionType &fn) | |
ScopeGuard (FunctionType &&fn) | |
~ScopeGuard () | |
Executes a given function on scope exit.
Use with the macro ARMARX_ON_SCOPE_EXIT;
Definition at line 71 of file OnScopeExit.h.
|
inlineexplicit |
Definition at line 74 of file OnScopeExit.h.
|
inlineexplicit |
Definition at line 76 of file OnScopeExit.h.
|
inline |
Definition at line 78 of file OnScopeExit.h.