|
NcEngine
|
Go to the source code of this file.
Macros | |
| #define | SCOPE_EXIT(body) auto UNIQUE_NAME(localScopeExitFunc, __LINE__) = nc::detail::ScopeExit([&](){body;}); |
| Create an RAII object in the current stack scope that executes 'body' on destruction. More... | |
| #define SCOPE_EXIT | ( | body | ) | auto UNIQUE_NAME(localScopeExitFunc, __LINE__) = nc::detail::ScopeExit([&](){body;}); |
Create an RAII object in the current stack scope that executes 'body' on destruction.
internal