implicit constructor exception_wrapper(std::exception)
authorJames Sedgwick <jsedgwick@fb.com>
Mon, 17 Nov 2014 23:04:23 +0000 (15:04 -0800)
committerDave Watson <davejwatson@fb.com>
Wed, 19 Nov 2014 20:52:34 +0000 (12:52 -0800)
commita575384b0cf738445a856c5f6fad439224d81c76
tree4f9e1d81f8c5c175baf2f0cfd678daa2361f66c0
parent0a14b4ccb443adbe283e8681e4e151b2eb20ceca
implicit constructor exception_wrapper(std::exception)

Summary: this should address some of the wordiness issues with exception_wrapper, i.e. always having to use make_exception_wrapper

Test Plan: wrote a little test to make sure everything compiles (or doesn't) as expected, not worth committing

Reviewed By: davejwatson@fb.com

Subscribers: njormrod, folly-diffs@

FB internal diff: D1679460

Signature: t1:1679460:1416265170:5cd72d95dd855cd4e594dbbc49d0c53d012fbc99
folly/ExceptionWrapper.h