![]() |
LeechCraft 0.6.70-17769-g4e68d7fcba
Modular cross-platform feature rich live environment.
|
#include <memory>#include <functional>#include <stdexcept>Go to the source code of this file.
Classes | |
| class | LC::Util::SharedScopeGuard |
| class | LC::Util::detail::ScopeGuard< F > |
Namespaces | |
| namespace | LC |
| namespace | LC::Util |
| namespace | LC::Util::detail |
Typedefs | |
| using | LC::Util::detail::DefaultScopeGuardDeleter = std::function<void ()> |
| using | LC::Util::DefaultScopeGuard = detail::ScopeGuard<detail::DefaultScopeGuardDeleter> |
Functions | |
| template<typename F> | |
| detail::ScopeGuard< F > | LC::Util::MakeScopeGuard (const F &f) |
| Returns an object performing passed function on scope exit. | |