Let make_exception_wrapper construct on-heap objects in-place
authorYedidya Feldblum <yfeldblum@fb.com>
Mon, 26 Jun 2017 20:22:19 +0000 (13:22 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 26 Jun 2017 20:28:02 +0000 (13:28 -0700)
commitc9afb47c5c08bd25b819d90cebf9cb639005918d
tree9927a5119dae794950f6606e342e75bae73a4ac7
parent6cf4cd30fc40660978b14c118db081da529b7a88
Let make_exception_wrapper construct on-heap objects in-place

Summary:
[Folly] Let `make_exception_wrapper` construct on-heap objects in-place.

Currently, it constructs on-heap objects on the stack and then move-constructs them into on-heap storage.

Reviewed By: ericniebler

Differential Revision: D5315104

fbshipit-source-id: cc0493e7d98aacadd342eb56601028ced4a19bb3
folly/ExceptionWrapper-inl.h
folly/ExceptionWrapper.h