15 explicit OnExit(std::function<
void()> &&func) :
func_{std::move(func)} {}
OnExit(std::function< void()> &&func)
Definition util.h:15
OnExit & operator=(const OnExit &)=delete
OnExit(const OnExit &)=delete
std::function< void()> func_
Definition util.h:30
OnExit & operator=(OnExit &&)=delete
~OnExit()
Definition util.h:17
Definition async_work.cc:18