[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 15:22:50 PST 2020


mclow.lists added a comment.

if you allocate memory with an allocator, you need to deallocate it with the same allocator. Not with `operator delete`


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