template <typename F>
class ScopeGuard
Defined at line 27 of file ../../third_party/android/platform/system/libbase/include/android-base/scopeguard.h
ScopeGuard ensures that the specified functor is executed no matter how the
current scope exits.
Public Methods
void ScopeGuard<F> (F f)
Defined at line 29 of file ../../third_party/android/platform/system/libbase/include/android-base/scopeguard.h
void ScopeGuard<F> (ScopeGuard<F> && that)
Defined at line 31 of file ../../third_party/android/platform/system/libbase/include/android-base/scopeguard.h
template <typename Functor>
void ScopeGuard<F> (ScopeGuard<Functor> && that)
Defined at line 36 of file ../../third_party/android/platform/system/libbase/include/android-base/scopeguard.h
void ~ScopeGuard<F> ()
Defined at line 41 of file ../../third_party/android/platform/system/libbase/include/android-base/scopeguard.h
void ScopeGuard<F> ()
Defined at line 45 of file ../../third_party/android/platform/system/libbase/include/android-base/scopeguard.h
void ScopeGuard<F> (const ScopeGuard<F> & )
Defined at line 46 of file ../../third_party/android/platform/system/libbase/include/android-base/scopeguard.h
void operator= (const ScopeGuard<F> & )
Defined at line 47 of file ../../third_party/android/platform/system/libbase/include/android-base/scopeguard.h
void operator= (ScopeGuard<F> && that)
Defined at line 48 of file ../../third_party/android/platform/system/libbase/include/android-base/scopeguard.h
void Disable ()
Defined at line 50 of file ../../third_party/android/platform/system/libbase/include/android-base/scopeguard.h
bool active ()
Defined at line 52 of file ../../third_party/android/platform/system/libbase/include/android-base/scopeguard.h
Friends
template <typename Functor>
class ScopeGuard