[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 Dec 11 17:11:46 PST 2018
vsapsai updated this revision to Diff 177803.
vsapsai added a comment.
- Update `__has_construct`, `__has_destroy` according to review comments.
- Tighten tests: custom allocators aren't mandated by C++03 but libc++ has the support.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D48753/new/
https://reviews.llvm.org/D48753
Files:
libcxx/include/memory
libcxx/test/libcxx/containers/sequences/vector/vector.cons/construct_iter_iter.pass.cpp
libcxx/test/libcxx/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.177803.patch
Type: text/x-patch
Size: 8416 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181212/a8e5cac2/attachment-0001.bin>
More information about the cfe-commits
mailing list