gcc/libstdc++-v3/testsuite/20_util/allocator
Jonathan Wakely 5bfcfe3087 libstdc++: Add warnings for some C++23 deprecations
LWG 3036 deprecates std::pmr::polymorphic_allocator<T>::destroy in
favour of the equivalent member of std::allocator_traits.

LWG 3170 deprecates std::allocator<T>::is_always_equal in favour of
the equivalent member of std::allocator_traits.

This also updates a comment to note that we support the LWG 3541 change
(even before the issue was opened).

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

libstdc++-v3/ChangeLog:

	* include/bits/allocator.h (allocator::is_always_equal): Deprecate.
	* include/bits/iterator_concepts.h (indirectly_readable_traits):
	Add LWG issue number to comment.
	* include/std/memory_resource (polymorphic_allocator::release):
	Deprecate.
	* testsuite/20_util/allocator/requirements/typedefs.cc: Add
	dg-warning for deprecation. Also check std::allocator<void>.
2021-06-09 10:32:43 +01:00
..
requirements libstdc++: Add warnings for some C++23 deprecations 2021-06-09 10:32:43 +01:00
1.cc Update copyright years. 2021-01-04 10:26:59 +01:00
8230.cc Update copyright years. 2021-01-04 10:26:59 +01:00
10378.cc Update copyright years. 2021-01-04 10:26:59 +01:00
14176.cc Update copyright years. 2021-01-04 10:26:59 +01:00
33807.cc Update copyright years. 2021-01-04 10:26:59 +01:00
89510.cc Update copyright years. 2021-01-04 10:26:59 +01:00
lwg3190.cc Update copyright years. 2021-01-04 10:26:59 +01:00
overaligned.cc Update copyright years. 2021-01-04 10:26:59 +01:00
rebind_c++20.cc Update copyright years. 2021-01-04 10:26:59 +01:00
void.cc libstdc++: Fix missing members in std::allocator<void> 2021-05-11 16:11:01 +01:00