[libcxx-commits] [PATCH] D66178: Remove std::shared_ptr::make_shared and std::shared_ptr::allocate_shared

Zoe Carver via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue Aug 13 15:33:55 PDT 2019


zoecarver created this revision.
zoecarver added reviewers: ldionne, mclow.lists, EricWF.
Herald added subscribers: libcxx-commits, dexonsmith, christof.

This patch removes `std::shared_ptr::make_shared` and `std::shared_ptr::allocate_shared` as they are not part of the standard. This is a change originally created in D62233 <https://reviews.llvm.org/D62233>. This patch also adds `__create_with_cntrl_block`, which is a help function for `std::allocate_shared` and `std::make_shared`.


Repository:
  rCXX libc++

https://reviews.llvm.org/D66178

Files:
  libcxx/include/memory

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66178.214948.patch
Type: text/x-patch
Size: 18255 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190813/99f3df3c/attachment.bin>


More information about the libcxx-commits mailing list