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