[PATCH] D27612: [libcxx] Fix PR24075, PR23841 - Add scoped_allocator_adaptor::construct(pair<T, U>*, ...) overloads.

Eric Fiselier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 9 04:20:21 PST 2016


EricWF updated this revision to Diff 80890.
EricWF added a comment.

- Add tests for non-pair construct function.
- Fix the value-category of allocator_arg_t being used.


https://reviews.llvm.org/D27612

Files:
  include/__functional_base
  include/scoped_allocator
  test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair.pass.cpp
  test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_const_lvalue_pair.pass.cpp
  test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_piecewise.pass.cpp
  test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_rvalue.pass.cpp
  test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_values.pass.cpp
  test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_type.pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27612.80890.patch
Type: text/x-patch
Size: 41858 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161209/b3592f71/attachment-0001.bin>


More information about the cfe-commits mailing list