Commit 29ffcc50 authored by Christopher Dykes's avatar Christopher Dykes Committed by Facebook Github Bot

Workaround a bug in MSVC

Summary:
It was broken, now it is fixed.
https://developercommunity.visualstudio.com/content/problem/145407/incorrect-c3520-within-noexcept-expression-in-alia.html

Reviewed By: yfeldblum

Differential Revision: D6254219

fbshipit-source-id: a03961db97d7ac211103655229c1ea703405826a
parent 766b616c
......@@ -227,9 +227,10 @@ struct is_nothrow_invocable_r
using result_ = \
decltype(::std::declval<F>().membername(::std::declval<Args>()...)); \
template <typename F, typename... Args> \
using nothrow_ = ::std::integral_constant< \
bool, \
noexcept(::std::declval<F>().membername(::std::declval<Args>()...))>; \
struct nothrow_ : std::integral_constant< \
bool, \
noexcept(::std::declval<F>().membername( \
::std::declval<Args>()...))> {}; \
\
template <typename, typename F, typename... Args> \
struct invoke_result_ {}; \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment