Searched defs:ScopeGuard (Results 1 – 1 of 1) sorted by relevance
30 ScopeGuard(F&& f) : f_(std::forward<F>(f)), active_(true) {} in ScopeGuard() function32 ScopeGuard(ScopeGuard&& that) : f_(std::move(that.f_)), active_(that.active_) { in ScopeGuard() function37 ScopeGuard(ScopeGuard<Functor>&& that) : f_(std::move(that.f_)), active_(that.active_) { in ScopeGuard() function