[PATCH] D48753: [libcxx] Use custom allocator's `construct` in C++03 when available.

Volodymyr Sapsai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 10 18:02:14 PDT 2018


vsapsai updated this revision to Diff 154912.
vsapsai added a comment.

- In C++03 call allocator's `destroy` when available.
- Rename `_Args` as it's not a variadic template pack.


https://reviews.llvm.org/D48753

Files:
  libcxx/include/memory
  libcxx/test/std/containers/sequences/vector/vector.cons/construct_iter_iter.pass.cpp
  libcxx/test/std/containers/sequences/vector/vector.cons/construct_iter_iter_alloc.pass.cpp
  libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/destroy.pass.cpp
  libcxx/test/support/min_allocator.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48753.154912.patch
Type: text/x-patch
Size: 7841 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180711/56343094/attachment.bin>


More information about the cfe-commits mailing list