[libcxx-commits] [PATCH] D93130: [libc++] Refactor allocate_shared to use an allocation guard

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Dec 11 09:51:52 PST 2020


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

This commit is a step towards making it easier to add support for arrays
in allocate_shared. Adding support for arrays will require writing multiple
functions, and the current complexity of writing allocate_shared is
prohibitive for understanding.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93130

Files:
  libcxx/include/CMakeLists.txt
  libcxx/include/__memory/utilities.h
  libcxx/include/memory

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93130.311264.patch
Type: text/x-patch
Size: 5473 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20201211/cd5ad7ee/attachment.bin>


More information about the libcxx-commits mailing list