[libc++] Implement P1413R3 (Deprecate std::aligned_storage and std::aligned_union)
authorNikolas Klauser <nikolasklauser@berlin.de>
Sun, 11 Dec 2022 01:10:31 +0000 (02:10 +0100)
committerNikolas Klauser <nikolasklauser@berlin.de>
Sat, 21 Jan 2023 14:08:27 +0000 (15:08 +0100)
commit987f08fe229c2d857b28f08b3b1ba149e1b16851
tree424e518ace5bb1c84631bd84774c1581d0bda132
parent5fb3a57ea759fb60c064c084ec9e607fd63dcd75
[libc++] Implement P1413R3 (Deprecate std::aligned_storage and std::aligned_union)

There are no tests for the aliases because clang doesn't diagnose deprecated template aliases currently.

Reviewed By: ldionne, #libc

Spies: libcxx-commits

Differential Revision: https://reviews.llvm.org/D127678
17 files changed:
libcxx/docs/Status/Cxx2b.rst
libcxx/docs/Status/Cxx2bPapers.csv
libcxx/include/__config
libcxx/include/__functional/function.h
libcxx/include/__type_traits/aligned_storage.h
libcxx/include/__type_traits/aligned_union.h
libcxx/include/any
libcxx/include/future
libcxx/include/type_traits
libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/allocate.pass.cpp
libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/deallocate.pass.cpp
libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_storage.depr.verify.cpp [new file with mode: 0644]
libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_storage.pass.cpp
libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.depr.verify.cpp [new file with mode: 0644]
libcxx/test/std/utilities/meta/meta.trans/meta.trans.other/aligned_union.pass.cpp
libcxx/test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/allocate.pass.cpp
libcxx/test/std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/deallocate.pass.cpp