exception_wrapper::handle should accommodate noexcept lambdas in C++17
Summary: `exception_wrapper::handle` uses the signature of `Fn::operator()` to pick apart the function type and deduce the exception type for the handler. We use specializations of an `arg_type_` class template to do this. In C++17, `noexcept` is a part of the type system, but there were no specializations of `arg_type_` to handle `noexcept`-qualified callables. Reviewed By: ispeters Differential Revision: D24733871 fbshipit-source-id: 344e735e653296c9344b6c09662fccd94953e8a7
Showing
Please register or sign in to comment