mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-04 18:13:44 +08:00
5bfcfe3087
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>. |
||
---|---|---|
.. | ||
requirements | ||
1.cc | ||
8230.cc | ||
10378.cc | ||
14176.cc | ||
33807.cc | ||
89510.cc | ||
lwg3190.cc | ||
overaligned.cc | ||
rebind_c++20.cc | ||
void.cc |