gcc/libstdc++-v3/testsuite/util
Jonathan Wakely b9e35ee6d6 libstdc++: Revert final/non-addressable changes to ranges CPOs
In r12-1489-g8b93548778a487f31f21e0c6afe7e0bde9711fc4 I made the
[range.access] CPO types final and non-addressable. Tim Song pointed out
this is wrong. Only the [range.iter.ops] functions should be final and
non-addressable. Revert the changes to the [range.access] objects.

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

libstdc++-v3/ChangeLog:

	* include/bits/ranges_base.h (ranges::begin, ranges::end)
	(ranges::cbegin, ranges::cend, ranges::rbeing, ranges::rend)
	(ranges::crbegin, ranges::crend, ranges::size, ranges::ssize)
	(ranges::empty, ranges::data, ranges::cdata): Remove final
	keywords and deleted operator& overloads.
	* testsuite/24_iterators/customization_points/iter_move.cc: Use
	new is_customization_point_object function.
	* testsuite/24_iterators/customization_points/iter_swap.cc:
	Likewise.
	* testsuite/std/concepts/concepts.lang/concept.swappable/swap.cc:
	Likewise.
	* testsuite/std/ranges/access/begin.cc: Likewise.
	* testsuite/std/ranges/access/cbegin.cc: Likewise.
	* testsuite/std/ranges/access/cdata.cc: Likewise.
	* testsuite/std/ranges/access/cend.cc: Likewise.
	* testsuite/std/ranges/access/crbegin.cc: Likewise.
	* testsuite/std/ranges/access/crend.cc: Likewise.
	* testsuite/std/ranges/access/data.cc: Likewise.
	* testsuite/std/ranges/access/empty.cc: Likewise.
	* testsuite/std/ranges/access/end.cc: Likewise.
	* testsuite/std/ranges/access/rbegin.cc: Likewise.
	* testsuite/std/ranges/access/rend.cc: Likewise.
	* testsuite/std/ranges/access/size.cc: Likewise.
	* testsuite/std/ranges/access/ssize.cc: Likewise.
	* testsuite/util/testsuite_iterators.h
	(is_customization_point_object): New function.
2021-06-16 14:31:04 +01:00
..
atomic Update copyright years. 2021-01-04 10:26:59 +01:00
common_type Update copyright years. 2021-01-04 10:26:59 +01:00
debug Update copyright years. 2021-01-04 10:26:59 +01:00
exception libstdc++: Fix and complete __gnu_debug::basic_string implementation 2021-03-25 21:56:14 +01:00
hash_fn Update copyright years. 2021-01-04 10:26:59 +01:00
io Update copyright years. 2021-01-04 10:26:59 +01:00
native_type Update copyright years. 2021-01-04 10:26:59 +01:00
performance Update copyright years. 2021-01-04 10:26:59 +01:00
pstl libstdc++: Fix some problems in PSTL tests 2021-05-12 14:51:15 +01:00
regression Update copyright years. 2021-01-04 10:26:59 +01:00
statistic Update copyright years. 2021-01-04 10:26:59 +01:00
thread Update copyright years. 2021-01-04 10:26:59 +01:00
replacement_memory_operators.h libstdc++: Limit allocation on iterator insertion in Hashtable [PR 96088] 2021-05-24 21:51:06 +02:00
slow_clock.h Update copyright years. 2021-01-04 10:26:59 +01:00
specfun_testcase.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_abi_check.cc Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_abi.cc libstdc++: Update ppc64le baseline_symbols.txt 2021-04-20 12:48:12 +02:00
testsuite_abi.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_allocator.cc Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_allocator.h libstdc++: Make test memory_resource work without exceptions and RTTI 2021-02-12 14:30:13 +00:00
testsuite_api.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_character.cc Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_character.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_common_types.h libstdc++ Simplify definition of net::socket_base constants 2021-04-23 13:54:34 +01:00
testsuite_container_traits.h libstdc++: Fix and complete __gnu_debug::basic_string implementation 2021-03-25 21:56:14 +01:00
testsuite_containergen.h libstdc++: Allow seeding random engines in testsuite 2021-03-25 18:21:19 +00:00
testsuite_containers.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_counter_type.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_error.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_fs.h libstdc++: Restore <unistd.h> in testsuite_fs.h header [PR 99096] 2021-02-14 20:38:32 +00:00
testsuite_greedy_ops.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_hooks.cc Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_hooks.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_io.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_iterators.h libstdc++: Revert final/non-addressable changes to ranges CPOs 2021-06-16 14:31:04 +01:00
testsuite_new_operators.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_performance.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_random.h libstdc++: Add PRNG fallback to std::random_device 2021-03-26 19:12:12 +00:00
testsuite_regex.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_rng.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_rvalref.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_shared.cc Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_tr1.h Update copyright years. 2021-01-04 10:26:59 +01:00