gcc/libstdc++-v3/testsuite
Jonathan Wakely 6854e3ac71 libstdc++: Simplify C++20 poison pill overloads (P2602R2)
This implements the C++23 change "Poison Pills are Too Toxic". This
makes sense to do unconditionally for C++20, as the corner cases that it
fixes are considered to be defects in the C++20 design (e.g. LWG3480 was
needed to fix directory iterators because of these pills being too
toxic).

libstdc++-v3/ChangeLog:

	* include/bits/iterator_concepts.h (__imove::iter_move): Define
	poison pill as deleted for consistency.
	(__access::begin): Replace with a single declaration.
	* include/bits/ranges_base.h (__access::end, __access::rbegin)
	(__access::rend, __access::size): Likewise.
	* include/bits/version.def (ranges): Update value for C++23.
	* include/bits/version.h: Regenerate.
	* libsupc++/compare (__compare): Add missing poison pill
	overloads.
	* testsuite/std/ranges/version_c++23.cc: Adjust expected value
	of __cpp_lib_ranges.
	* testsuite/std/ranges/access/p2602.cc: New test.
2023-09-07 08:08:12 +01:00
..
17_intro libstdc++: Fix tests relying on operator new/delete overload 2023-08-23 06:35:24 +02:00
18_support libstdc++: Remove reliance on unspecified behaviour in std::rethrow_if_nested test 2023-08-21 10:43:19 +01:00
19_diagnostics libstdc++: Fix some AIX test failures 2023-04-12 23:25:17 +01:00
20_util libstdc++: Enable std::auto_ptr tests for C++11 and later 2023-09-04 16:24:35 +01:00
21_strings libstdc++: Implement std::to_string in terms of std::format (P2587R3) 2023-08-17 20:24:17 +01:00
22_locale libstdc++: Remove test dependency on _GLIBCXX_USE_C99_STDINT_TR1 2023-05-12 14:40:39 +01:00
23_containers libstdc++: Fix filenames and comments in tests [PR26142] 2023-09-04 16:24:35 +01:00
24_iterators libstdc++: Disable PCH for tests that rely on include order 2023-08-17 08:42:45 +01:00
25_algorithms libstdc++: Fix debug-mode tests for constexpr algorithms 2023-09-01 17:52:41 +01:00
26_numerics libstdc++: Remove unnecessary dg-options and outdated comment 2023-09-04 16:24:35 +01:00
27_io libstdc++: Add -Wno-self-move to two filesystem tests 2023-09-01 17:52:41 +01:00
28_regex libstdc++: Define std::sub_match::swap member function (LWG 3204) 2023-04-05 11:37:19 +01:00
29_atomics libstdc++: Use a loop in atomic_ref::compare_exchange_strong [PR111077] 2023-09-01 16:01:18 +01:00
30_threads libstdc++: Avoid -Wmaybe-uninitialized warning in std::stop_source [PR109339] 2023-03-31 14:20:52 +01:00
abi Update copyright years. 2023-01-16 11:52:17 +01:00
backward Update copyright years. 2023-01-16 11:52:17 +01:00
config Update copyright years. 2023-01-16 11:52:17 +01:00
data
decimal Update copyright years. 2023-01-16 11:52:17 +01:00
experimental libstdc++: Check conversion from filesystem::path to wide strings [PR95048] 2023-07-12 21:04:13 +01:00
ext libstdc++: Fix tests relying on operator new/delete overload 2023-08-23 06:35:24 +02:00
lib libstdc++: Fix testsuite no_pch directive 2023-08-17 08:42:45 +01:00
libstdc++-abi Update copyright years. 2023-01-16 11:52:17 +01:00
libstdc++-dg Update copyright years. 2023-01-16 11:52:17 +01:00
libstdc++-prettyprinters libstdc++: Add pretty printer for std::locale 2023-08-24 13:40:25 +01:00
libstdc++-xmethods libstdc++: Fix GDB Xmethod for std::shared_ptr::use_count() [PR109064] 2023-03-10 11:10:23 +00:00
performance Update copyright years. 2023-01-16 11:52:17 +01:00
special_functions Update copyright years. 2023-01-16 11:52:17 +01:00
std libstdc++: Simplify C++20 poison pill overloads (P2602R2) 2023-09-07 08:08:12 +01:00
tr1 libstdc++: Remove dg-options "-std=c++98" from TR1 tests 2023-09-04 16:24:35 +01:00
tr2 Update copyright years. 2023-01-16 11:52:17 +01:00
util libstdc++: Avoid -Wunused-parameter warning in testsuite helper 2023-09-07 08:02:49 +01:00
Makefile.am Update copyright years. 2023-01-16 11:52:17 +01:00
Makefile.in libstdc++: Don't use gstdint.h anymore 2022-10-29 00:55:42 +01:00