Fix ExceptionWrapper under MSVC 2015 Update 3
authorChristopher Dykes <cdykes@fb.com>
Wed, 3 May 2017 14:11:09 +0000 (07:11 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 3 May 2017 14:21:51 +0000 (07:21 -0700)
commit59c1b560c01761fe3993d2a376a529f2a55edff7
tree982361d964011a86ee4b83d8b9c40191eaad7680
parent5e8852c8bcd1a45ddb4daada12b34a78e3940873
Fix ExceptionWrapper under MSVC 2015 Update 3

Summary: Besides this code being utterly bizzare, it doesn't work under MSVC 2015 Update 3, so rather than doing a `static_cast<bool>(std::conjunction<>())` just do `std::conjunction<>::value`.

Reviewed By: yfeldblum

Differential Revision: D4988341

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