|
Go to the source code of this file.
Classes | |
class | ScopeGuard< FunctionType > |
Executes a given function on scope exit. More... | |
struct | ScopeGuardOnExit |
Tag used by the macro ARMARX_ON_SCOPE_EXIT;. More... | |
Namespaces | |
armarx | |
This file offers overloads of toIce() and fromIce() functions for STL container types. | |
armarx::detail | |
Macros | |
#define | ARMARX_ON_SCOPE_EXIT auto ARMARX_ANONYMOUS_VARIABLE_WITH_PREFIX(SCOPE_EXIT_GUARD) = ::armarx::detail::ScopeGuardOnExit() + [&]() |
Executes given code when the enclosing scope is left. More... | |
Functions | |
template<typename Fun > | |
ScopeGuard< Fun > | operator+ (ScopeGuardOnExit, Fun &&fn) |