[libcxx] Fix PR24075, PR23841 - Add scoped_allocator_adaptor::construct(pair<T, U...
authorEric Fiselier <eric@efcs.ca>
Wed, 14 Dec 2016 21:29:29 +0000 (21:29 +0000)
committerEric Fiselier <eric@efcs.ca>
Wed, 14 Dec 2016 21:29:29 +0000 (21:29 +0000)
commit4ffd08cae91e6bfbf1519420aeb096964d27fd39
tree14d8bd3bb9ab233e6ed25243c132f2ada96a8c59
parentfec6be9c8150244c98bc2ac2bcac326fce49001a
[libcxx] Fix PR24075, PR23841 - Add scoped_allocator_adaptor::construct(pair<T, U>*, ...) overloads.

Summary:
For more information see:

* https://llvm.org/bugs/show_bug.cgi?id=23841
* https://llvm.org/bugs/show_bug.cgi?id=24075

I hope you have as much fun reviewing as I did writing these insane tests!

Reviewers: mclow.lists, AlisdairM, EricWF

Subscribers: AlisdairM, Potatoswatter, cfe-commits

Differential Revision: https://reviews.llvm.org/D27612

llvm-svn: 289710
libcxx/include/__functional_base
libcxx/include/scoped_allocator
libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair.pass.cpp [new file with mode: 0644]
libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_const_lvalue_pair.pass.cpp [new file with mode: 0644]
libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_piecewise.pass.cpp [new file with mode: 0644]
libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_rvalue.pass.cpp [new file with mode: 0644]
libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_values.pass.cpp [new file with mode: 0644]
libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_type.pass.cpp [new file with mode: 0644]