35 template <
typename Functor>
54 template <
typename Functor>
Definition: scopeguard.h:27
F f_
Definition: scopeguard.h:57
void Disable()
Definition: scopeguard.h:49
constexpr ScopeGuard(ScopeGuard &&that) noexcept
Definition: scopeguard.h:31
void operator=(ScopeGuard &&that)=delete
void operator=(const ScopeGuard &)=delete
~ScopeGuard()
Definition: scopeguard.h:40
ScopeGuard(const ScopeGuard &)=delete
bool active_
Definition: scopeguard.h:58
constexpr bool active() const
Definition: scopeguard.h:51
constexpr ScopeGuard(ScopeGuard< Functor > &&that)
Definition: scopeguard.h:36
constexpr ScopeGuard(F &&f)
Definition: scopeguard.h:29
ScopeGuard< F > make_scope_guard(F &&f)
Definition: scopeguard.h:62
ScopeGuard(F &&t) -> ScopeGuard< F >
Definition: logging.h:464