|
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 73 of file OnScopeExit.h.
|
inlineexplicit |
Definition at line 76 of file OnScopeExit.h.
|
inlineexplicit |
Definition at line 80 of file OnScopeExit.h.
|
inline |
Definition at line 84 of file OnScopeExit.h.