68 Perform_ = other.Perform_;
69 other.Perform_ =
false;
75 , Perform_ { other.Perform_ }
77 other.Perform_ =
false;
ScopeGuard & operator=(const ScopeGuard &)=delete
ScopeGuard< DefaultScopeGuardDeleter > EraseType()
detail::ScopeGuard< F > MakeScopeGuard(const F &f)
Returns an object performing passed function on scope exit.
ScopeGuard(const F &f) noexcept
std::function< void()> DefaultScopeGuardDeleter
ScopeGuard(ScopeGuard &&other) noexcept