10 #ifndef LCF_SCOPE_GUARD_H
11 #define LCF_SCOPE_GUARD_H
25 :
_f(std::move(o.
_f)),
_active(true) { o._active =
false; }
ScopeGuard & operator=(const ScopeGuard &)=delete
ScopeGuard(ScopeGuard &&o)
ScopeGuard & operator=(ScopeGuard &&)=delete
ScopeGuard(const ScopeGuard &)=delete
ScopeGuard< F > makeScopeGuard(F &&f)