Fix folly::Function under C++17 exception specifier rules
authorChristopher Dykes <cdykes@fb.com>
Thu, 2 Nov 2017 03:33:39 +0000 (20:33 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 2 Nov 2017 03:36:21 +0000 (20:36 -0700)
commit1bdec475acac176a9692b6e506564c8c0ccd1984
tree241a0ce289212d15937132e205c7d32060abbacb
parente75cf21f157eee116bd55cbffa68de02831ed775
Fix folly::Function under C++17 exception specifier rules

Summary: Under C++17's exception specifier rules (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0012r1.html) we need additional specializations to achieve the desired effect.

Reviewed By: yfeldblum

Differential Revision: D6214359

fbshipit-source-id: a007c2fcea1496bdfe4fdf923b39c1611c6ad9bc
folly/Function.h
folly/Portability.h
folly/experimental/exception_tracer/ExceptionStackTraceLib.cpp