A smaller implementation of try_and_catch
authorYedidya Feldblum <yfeldblum@fb.com>
Wed, 28 Dec 2016 17:57:15 +0000 (09:57 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 28 Dec 2016 18:02:59 +0000 (10:02 -0800)
commitf4dd104c297892b176b85723f0c6b0fd9214f091
tree8576f5aac4faf7c8cedc9e631e2962a74cdda76c
parent1e03974395c7007e75ed7847ad7d28b36a1c3a1b
A smaller implementation of try_and_catch

Summary:
[Folly] A smaller implementation of `try_and_catch`.

No longer done as a derived class. This lets us make the protected members of `exception_wrapper` into private members.

Reviewed By: ericniebler

Differential Revision: D4366065

fbshipit-source-id: ae4763b55e431ac08260f74f6a23a257581247c9
folly/ExceptionWrapper.h