[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
Mon Jul 9 12:40:58 PDT 2018


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

- Allow allocator `construct` to return a value, not just have return type `void`.


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/support/min_allocator.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48753.154678.patch
Type: text/x-patch
Size: 6714 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180709/51562e7b/attachment-0001.bin>


More information about the cfe-commits mailing list