You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
libcxx_old/test/libcxx/experimental/memory
Eric Fiselier 40a29e79c2 LWG 2969 "polymorphic_allocator::construct() shouldn't pass resource()"
Patch from Arthur O'Dwyer.

In the TS, `uses_allocator` construction for `pair` tried to use an allocator
type of `memory_resource*`, which is incorrect because `memory_resource*` is
not an allocator type. LWG 2969 fixed it to use `polymorphic_allocator` as the
allocator type instead.

https://wg21.link/lwg2969

(D47090 included this in `<memory_resource>`; at Eric's request, I've split
this out into its own patch applied to the existing
`<experimental/memory_resource>` instead.)

Reviewed as https://reviews.llvm.org/D47109


git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@333384 91177308-0d34-0410-b5e6-96231b3b80d8
8 years ago
..
memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem LWG 2969 "polymorphic_allocator::construct() shouldn't pass resource()" 8 years ago
memory.resource.adaptor/memory.resource.adaptor.mem Add <experimental/memory_resource> 10 years ago
memory.resource.aliases Add experimental container alias templates for PMRs 10 years ago
memory.resource.global Add `REQUIRES: c++experimental` where appropriate. 10 years ago
memory.resource.synop Add <experimental/memory_resource> 10 years ago