[PATCH] D38831: [libcxx] P0604, invoke_result and is_invocable

Zhihao Yuan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 12 03:27:10 PST 2017


lichray added a comment.

  [...]test/std/utilities/meta/meta.rel/is_nothrow_invocable.pass.cpp:118:9: error: static_assert failed due to requirement '!std::is_nothrow_invocable_r_v<int, Fn>' ""
          static_assert(!std::is_nothrow_invocable_r_v<int, Fn>, "");
          ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  1 error generated.
  --

with Clang-5.0 and trunk.  Can you reproduce?


https://reviews.llvm.org/D38831





More information about the cfe-commits mailing list