gcc/libstdc++-v3/testsuite
Jonathan Wakely 2c2278f300 libstdc++: Remove inheritance from std::coroutine_handle<> [LWG 3460]
This removes the coroutine_handle<> base class from the primary template
and the noop_coroutine_promise explicit specialization. To preserve the
API various members are added, as they are no longer inherited from the
base class.

I've also tweaked some indentation and formatting, and replaced
subclause numbers from the standard with stable names like
[coroutine.handle.con].

libstdc++-v3/ChangeLog:

	* include/std/coroutine (coroutine_handle<_Promise>): Remove
	base class. Add constructors, conversions, accessors etc. as
	proposed for LWG 3460.
	(coroutine_handle<noop_coroutine_promise>): Likewise.
	* testsuite/18_support/coroutines/lwg3460.cc: New test.
2020-10-20 11:37:48 +01:00
..
17_intro libstdc++: Replace use of reserved name that clashes [PR 97362] 2020-10-10 21:22:12 +01:00
18_support libstdc++: Remove inheritance from std::coroutine_handle<> [LWG 3460] 2020-10-20 11:37:48 +01:00
19_diagnostics
20_util libstdc++: Implement std::make_unique_for_overwrite 2020-10-19 22:11:39 +01:00
21_strings libstdc++: Fix tests that fail with old std::string ABI 2020-10-14 16:15:49 +01:00
22_locale
23_containers
24_iterators libstdc++: Add missing P0896 changes to <iterator> 2020-10-02 10:51:31 -04:00
25_algorithms
26_numerics libstdc++: Fix incorrect results in std::seed_seq::generate [PR 97311] 2020-10-09 16:58:32 +01:00
27_io libstdc++: Enable tests that incorrectly require cxx11-abi 2020-10-14 12:52:46 +01:00
28_regex
29_atomics libstdc++: Change test to work without 64-bit atomics 2020-10-02 22:18:51 +01:00
30_threads libstdc++: Use correct duration for atomic_futex wait on custom clock [PR 91486] 2020-10-05 11:32:10 +01:00
abi
backward
config
data
decimal
experimental
ext
lib libstdc++: Improve comments for check_effective_target_cxx11-abi 2020-10-14 12:52:47 +01:00
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters
libstdc++-xmethods
performance libstdc++: Add performance test for <random> 2020-10-09 14:01:54 +01:00
special_functions
std libstdc++: Apply proposed resolution for LWG 3450 2020-10-12 13:46:24 -04:00
tr1
tr2
util libstdc++: Fix unused variable warning 2020-10-09 11:53:08 +01:00
Makefile.am libstdc++: Adjust variable export in makefile 2020-10-09 14:08:42 +01:00
Makefile.in libstdc++: Adjust variable export in makefile 2020-10-09 14:08:42 +01:00