exception_wrapper::from_exception_ptr
authorYedidya Feldblum <yfeldblum@fb.com>
Mon, 21 Aug 2017 18:38:39 +0000 (11:38 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 21 Aug 2017 18:49:59 +0000 (11:49 -0700)
commitf372f154be5b9c44a7e0322d6fd64166485688ec
tree7657a59ece75c6a0506df558477e2ba6d3111ea8
parent4560ebcac260ad75fbe983b1a0a307567ee9fe49
exception_wrapper::from_exception_ptr

Summary:
[Folly] `exception_wrapper::from_exception_ptr`.

A handry helper for converting from `std::exception_ptr` to `folly::exception_wrapper`.

Reviewed By: ericniebler

Differential Revision: D5668179

fbshipit-source-id: a81a60cb22a2a697714268e027af62dd8825d2c3
folly/ExceptionWrapper.cpp
folly/ExceptionWrapper.h
folly/test/ExceptionWrapperTest.cpp