[libcxx-commits] [PATCH] D106916: [libc++] Handle arrays in std::destroy_at

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Jul 27 14:15:29 PDT 2021


ldionne created this revision.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Also, improve tests for std::destroy and std::destroy_n so that they
check for array support.

These changes are part of http://wg21.link/p0896 (the One Ranges proposal).


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D106916

Files:
  libcxx/include/__memory/construct_at.h
  libcxx/include/__memory/uninitialized_algorithms.h
  libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy.pass.cpp
  libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy_at.pass.cpp
  libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/destroy_n.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106916.362181.patch
Type: text/x-patch
Size: 14386 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210727/a24abd27/attachment-0001.bin>


More information about the libcxx-commits mailing list