You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
libcxx_old/test/std/utilities/function.objects
Zhihao Yuan e445521637 [libcxx] P0604, invoke_result and is_invocable
Summary:
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.


Reviewers: EricWF, mclow.lists, bebuch

Reviewed By: EricWF, bebuch

Subscribers: lichray, bebuch, cfe-commits

Differential Revision: https://reviews.llvm.org/D38831

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@320509 91177308-0d34-0410-b5e6-96231b3b80d8
8 years ago
..
arithmetic.operations [libcxx] [test] Rename _Up to U, etc. NFCI. 8 years ago
bind Update all bug URL's to point to https://bugs.llvm.org/... 9 years ago
bitwise.operations [libcxx] [test] Rename _Up to U, etc. NFCI. 8 years ago
comparisons [libcxx] [test] Rename _Up to U, etc. NFCI. 8 years ago
func.def
func.invoke [libcxx] [test] Make files consistently end with newlines, NFC. 8 years ago
func.memfn Replace __cplusplus comparisons and dialect __has_feature checks with TEST_STD_VER. 10 years ago
func.not_fn [libcxx] P0604, invoke_result and is_invocable 8 years ago
func.require [libcxx] [test] Update for C++17 feature removals. 8 years ago
func.wrap Fix PR34298 - Allow std::function with an incomplete return type. 8 years ago
logical.operations [libcxx] [test] Rename _Up to U, etc. NFCI. 8 years ago
negators In C++03, a bunch of the arithmetic/logical/comparison functors (such as negate/bit_not.pass/logical_not) were defined as deriving from unary_funtion. That restriction was removed in C++11, but the tests still check for this. Change the test to look for the embedded types first_argument/second_argument/result_type. No change to the library, just more standards-compliant tests. Thanks to STL @ Microsoft for the suggestion. 11 years ago
refwrap [libcxx] [test] Update for C++17 feature removals. 8 years ago
unord.hash [libcxx] P0604, invoke_result and is_invocable 8 years ago