Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Transaction *t = manager->BeginTransaction();
- auto cleanup = make_scope_exit([&] { manager->CloseTransaction(t); });
- auto logErrors = make_scope_fail([] { LogError(); });
- t->Write("Foo");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement