[PATCH] D38831: [libcxx] P0604, invoke_result and is_invocable
Agustín Bergé via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 11 16:47:29 PDT 2017
K-ballo created this revision.
Introduce a new form of `result_of` without function type encoding.
Rename and split `is_callable/is_nothrow_callable` into `is_invocable/is_nothrow_invocable/is_invocable_r/is_nothrow_invocable_r` (and associated types accordingly)
Change function type encoding of previous `is_callable/is_nothrow_callable` traits to conventional template type parameter lists.
https://reviews.llvm.org/D38831
Files:
include/type_traits
include/variant
test/std/utilities/function.objects/func.not_fn/not_fn.pass.cpp
test/std/utilities/function.objects/unord.hash/non_enum.pass.cpp
test/std/utilities/meta/meta.rel/is_callable.pass.cpp
test/std/utilities/meta/meta.rel/is_invocable.pass.cpp
test/std/utilities/meta/meta.rel/is_nothrow_callable.pass.cpp
test/std/utilities/meta/meta.rel/is_nothrow_invocable.pass.cpp
test/std/utilities/meta/meta.trans/meta.trans.other/result_of.pass.cpp
test/std/utilities/meta/meta.trans/meta.trans.other/result_of11.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38831.118724.patch
Type: text/x-patch
Size: 33797 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171011/847411e0/attachment-0001.bin>
More information about the cfe-commits
mailing list