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
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_ {}; \