gcc/libstdc++-v3/testsuite
Jonathan Wakely 5b73abd1a5 libstdc++: Define std::invoke_r for C++23 (P2136R3)
We already supported this feature as std::__invoke<R>, for internal use.
This just adds a public version of it to <functional>.

Internal uses should continue to include <bits/invoke.h> and use
std::__invoke<R> so that they don't need to include all of <functional>.

Signed-off-by: Jonathan Wakely <jwakely@redhat.com>

libstdc++-v3/ChangeLog:

	* include/std/functional (invoke_r): Define.
	* include/std/version (__cpp_lib_invoke_r): Define.
	* testsuite/20_util/function_objects/invoke/version.cc: Check
	for __cpp_lib_invoke_r as well as __cpp_lib_invoke.
	* testsuite/20_util/function_objects/invoke/4.cc: New test.
2021-09-02 17:48:45 +01:00
..
17_intro libstdc++: Fix 17_intro/names.cc failures on Solaris 2021-08-31 14:17:53 +01:00
18_support
19_diagnostics libstdc++: Remove redundant noexcept-specifier on definitions 2021-08-31 17:36:12 +01:00
20_util libstdc++: Define std::invoke_r for C++23 (P2136R3) 2021-09-02 17:48:45 +01:00
21_strings
22_locale
23_containers libstdc++: Add valid range checks to std::span constructors [PR98421] 2021-08-31 19:13:55 +01:00
24_iterators
25_algorithms
26_numerics
27_io
28_regex
29_atomics
30_threads
abi
backward
config
data
decimal
experimental libstdc++: Fix ip::tcp::resolver test failure on Solaris 2021-08-31 17:36:11 +01:00
ext
lib
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters
libstdc++-xmethods
performance
special_functions
std
tr1
tr2
util
Makefile.am
Makefile.in