Searched defs:scope_exit (Results 1 – 4 of 4) sorted by relevance
18 struct scope_exit { struct19 scope_exit(boost::function<void (void)> f): f_(f) {} in scope_exit() argument20 ~scope_exit(void) { f_(); } in ~scope_exit() argument31 scope_exit BOOST_PP_CAT(scope_exit_, id)( \ argument
27 struct scope_exit { struct28 scope_exit(std::function<void (void)> f) : f_(f) {} in scope_exit() function29 ~scope_exit(void) { f_(); } in ~scope_exit() argument38 scope_exit on_exit1([&commit, this](void) { // Use C++11 lambda. in add_person() argument
31 explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {} in scope_exit() function33 scope_exit(scope_exit &&Rhs) in scope_exit() function
187 namespace boost { namespace scope_exit { namespace detail { namespace347 namespace boost { namespace scope_exit { namespace aux { namespace699 namespace boost { namespace scope_exit { namespace aux { namespace