gcc/libstdc++-v3/testsuite/23_containers
Jonathan Wakely 4fa6c0ec35 libstdc++: Define std::is_pointer_interconvertible_base_of for C++20
Implement these traits using the new built-ins that Jakub added
recently.

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

libstdc++-v3/ChangeLog:

	* include/std/type_traits (__cpp_lib_is_pointer_interconvertible)
	(is_pointer_interconvertible_base_of_v)
	(is_pointer_interconvertible_base_of): Define for C++20.
	* include/std/version (__cpp_lib_is_pointer_interconvertible):
	Define.
	* testsuite/23_containers/span/layout_compat.cc: Use correct
	feature test macro for std::is_layout_compatible_v.
	* testsuite/20_util/is_pointer_interconvertible/value.cc: New test.
	* testsuite/20_util/is_pointer_interconvertible/version.cc: New test.
2021-08-11 16:53:22 +01:00
..
array libstdc++: Add [[nodiscard]] to sequence containers 2021-08-04 12:54:29 +01:00
bitset Update copyright years. 2021-01-04 10:26:59 +01:00
deque libstdc++: Add [[nodiscard]] to sequence containers 2021-08-04 12:54:29 +01:00
forward_list libstdc++: Add [[nodiscard]] to iterators and related utilities 2021-08-04 12:54:28 +01:00
headers Update copyright years. 2021-01-04 10:26:59 +01:00
list libstdc++: Add [[nodiscard]] to sequence containers 2021-08-04 12:54:29 +01:00
map libstdc++: Add [[nodiscard]] to iterators and related utilities 2021-08-04 12:54:28 +01:00
multimap libstdc++: Add [[nodiscard]] to iterators and related utilities 2021-08-04 12:54:28 +01:00
multiset libstdc++: Add [[nodiscard]] to iterators and related utilities 2021-08-04 12:54:28 +01:00
priority_queue libstdc++: Add [[nodiscard]] to sequence containers 2021-08-04 12:54:29 +01:00
queue libstdc++: Add [[nodiscard]] to sequence containers 2021-08-04 12:54:29 +01:00
set libstdc++: Add [[nodiscard]] to iterators and related utilities 2021-08-04 12:54:28 +01:00
span libstdc++: Define std::is_pointer_interconvertible_base_of for C++20 2021-08-11 16:53:22 +01:00
stack libstdc++: Remove redundant -std=gnu++17 option from containers tests 2021-05-10 16:22:53 +01:00
unordered_map libstdc++: Make allocator equality comparable in tests 2021-08-09 11:43:50 +01:00
unordered_multimap libstdc++: Add [[nodiscard]] to iterators and related utilities 2021-08-04 12:54:28 +01:00
unordered_multiset libstdc++: Add [[nodiscard]] to iterators and related utilities 2021-08-04 12:54:28 +01:00
unordered_set libstdc++: Make allocator equality comparable in tests 2021-08-09 11:43:50 +01:00
vector libstdc++: Add [[nodiscard]] to sequence containers 2021-08-04 12:54:29 +01:00