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