C++ Actor Framework 1.0.0
|
A lightweight scope guard implementation. More...
#include <scope_guard.hpp>
Public Member Functions | |
scope_guard (Fun f) noexcept | |
scope_guard (const scope_guard &)=delete | |
scope_guard & | operator= (const scope_guard &)=delete |
void | disable () noexcept |
Disables this guard, i.e., the guard does not run its cleanup code as it goes out of scope. | |
A lightweight scope guard implementation.