Use simpler tags for ctor dispatch in exception_wrapper
authorYedidya Feldblum <yfeldblum@fb.com>
Thu, 7 Dec 2017 20:38:57 +0000 (12:38 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 7 Dec 2017 20:51:13 +0000 (12:51 -0800)
commita335700fba3a818043d53de320711dc97b680894
tree6d1e2d61201245c9c6453792a2ea552efaec4be2
parentfd0b3090840d742492793fe306185550f0300283
Use simpler tags for ctor dispatch in exception_wrapper

Summary:
[Folly] Use simpler tags for ctor dispatch in `exception_wrapper`.

The tags do not need to be `std::integral_constant`, but can just be arbitrary empty types.

Also format the usage sites of the tags.

Reviewed By: ericniebler

Differential Revision: D6506417

fbshipit-source-id: 377359086d94fc1a8bf8eebf6f8b058ff544829f
folly/ExceptionWrapper-inl.h
folly/ExceptionWrapper.h