Searched refs:final_action (Results 1 – 1 of 1) sorted by relevance
243 template <class F> class final_action {245 explicit final_action(F f) : f_(move(f)) {} in final_action() function246 ~final_action() { f_(); } in ~final_action()252 template <class F> inline final_action<F> finally(const F& f) { in finally()253 return final_action<F>(f); in finally()