Searched refs:ScopeGuard (Results 1 – 1 of 1) sorted by relevance
24 class ScopeGuard {26 ScopeGuard(F f) : f_(f), active_(true) {} in ScopeGuard() function28 ScopeGuard(ScopeGuard&& that) : f_(that.f_), active_(that.active_) { in ScopeGuard() function32 ~ScopeGuard() { in ~ScopeGuard()45 DISALLOW_IMPLICIT_CONSTRUCTORS(ScopeGuard);49 ScopeGuard<T> make_scope_guard(T f) { in make_scope_guard()50 return ScopeGuard<T>(f); in make_scope_guard()