This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by EricWF on Dec 9 2016, 2:21 AM.

Diff Detail

Event Timeline

EricWF updated this revision to Diff 80872.Dec 9 2016, 2:21 AM
EricWF retitled this revision from to [libcxx] Fix PR24075, PR23841 - Add scoped_allocator_adaptor::construct(pair<T, U>*, ...) overloads..
EricWF updated this object.
EricWF added a reviewer: mclow.lists.
EricWF added subscribers: cfe-commits, Potatoswatter.
EricWF updated this revision to Diff 80873.Dec 9 2016, 2:24 AM

Fix copy paste errors in tests.

EricWF updated this revision to Diff 80890.Dec 9 2016, 4:20 AM
  • Add tests for non-pair construct function.
  • Fix the value-category of allocator_arg_t being used.
EricWF added a subscriber: AlisdairM.

Adding @AlisdairM as a reviewer, because nobody knows more about allocators than Alisdair.

EricWF accepted this revision.Dec 14 2016, 1:37 PM
EricWF added a reviewer: EricWF.

Accepting for post-commit review.

include/scoped_allocator
644

FIXME: use initializer list construction in the return type.

This revision is now accepted and ready to land.Dec 14 2016, 1:37 PM
EricWF closed this revision.Dec 14 2016, 1:39 PM