libdcp
|
Public Member Functions | |
template<typename F > | |
ScopeGuard (F const &function) | |
ScopeGuard (ScopeGuard &&other) | |
ScopeGuard (ScopeGuard const &)=delete | |
ScopeGuard & | operator= (ScopeGuard const &)=delete |
void | cancel () |
Private Attributes | |
std::function< void()> | _function |
bool | _cancelled = false |
Definition at line 45 of file scope_guard.h.