]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Undeprecate std::pmr::polymorphic_allocator::destroy (P2875R4)
authorJonathan Wakely <jwakely@redhat.com>
Tue, 18 Jun 2024 15:09:08 +0000 (16:09 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 9 Jan 2025 23:52:33 +0000 (23:52 +0000)
commit734d7dae428a17647d49ed2734ccc1d7d9c9a3b5
treed79a09d5021ce0c8906739d8863d2928c6f9a3cb
parent72fe42c9a095ef9b4125bd65999cd1012dfb73b7
libstdc++: Undeprecate std::pmr::polymorphic_allocator::destroy (P2875R4)

This member function was previously deprecated, but that was reverted by
P2875R4, approved earlier this year in Tokyo. Since it's not going to be
deprecated in C++26, and so presumably not removed, there is no point in
giving deprecated warnings for C++23 mode.

libstdc++-v3/ChangeLog:

* include/bits/memory_resource.h (polymorphic_allocator::destroy):
Remove deprecated attribute.

(cherry picked from commit c3e237338eb7ffc90f3cc8d32a3971d17f6d0b31)
libstdc++-v3/include/bits/memory_resource.h