|
|
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;
|
inlineexplicit |
|
inlineexplicit |
|
inline |