llvm-project/libcxx/test/std/utilities/function.objects
Arthur O'Dwyer f9b6fd269b [libc++] Support immovable return types in std::function.
LWG reflector consensus is that this was a bug in libc++.
(In particular, MSVC also will fix it in their STL, soon.)
Bug originally discovered by Logan Smith.

Also fix `std::function<const void()>`, which should work
the same way as `std::function<void()>` in terms of allowing
"conversions" from non-void types.

Differential Revision: https://reviews.llvm.org/D94452
2021-01-25 19:34:41 -05:00
..
arithmetic.operations [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
bind/func.bind [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
bitwise.operations [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
comparisons [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
func.def Support tests in freestanding 2019-02-04 20:31:13 +00:00
func.invoke [libc++] [P1065] Constexpr invoke, reference_wrapper, mem_fn, not_fn, default_searcher. 2020-12-28 13:24:07 -05:00
func.memfn [libc++] Fix a test failure in 7b00e9fae3 (D93815). 2020-12-28 13:55:40 -05:00
func.not_fn [libc++] [P1065] Constexpr invoke, reference_wrapper, mem_fn, not_fn, default_searcher. 2020-12-28 13:24:07 -05:00
func.require [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
func.search [libc++] Fix a test failure in 7b00e9fae3 (D93815). 2020-12-28 18:46:07 -05:00
func.wrap [libc++] Support immovable return types in std::function. 2021-01-25 19:34:41 -05:00
logical.operations [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
negators [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
refwrap [libc++] ADL-proof <functional> by adding _VSTD:: qualification on calls. 2020-12-14 12:08:34 -05:00
unord.hash [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00