[libcxx-commits] [PATCH] D93071: [libc++] NFCI: Implement make_shared as allocate_shared with std::allocator

Marshall Clow via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Dec 10 16:27:13 PST 2020


mclow.lists added a comment.

In D93071#2447283 <https://reviews.llvm.org/D93071#2447283>, @ldionne wrote:

> Indeed, however `std::allocator` is specified to use `operator new` and `operator delete`.

I don't think that applies to user-provided specializations of `std::allocator`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93071/new/

https://reviews.llvm.org/D93071



More information about the libcxx-commits mailing list