17 #ifndef SHARED_SCOPE_H
18 #define SHARED_SCOPE_H
24 template <
class Callable>
32 other.at_exit_ =
nullptr;
46 #endif // SHARED_SCOPE_H
void operator=(const ScopeGuard &)=delete
std::function< void()> at_exit_
ScopeGuard(ScopeGuard &&other)
ScopeGuard(Callable &&at_exit)