Title
polymorphic_allocator and incomplete types
Status
c++20
Section
[mem.poly.allocator.class]
Submitter
Casey Carter

Created on 2017-11-15.00:00:00 last changed 44 months ago

Messages

Date: 2018-11-12.04:39:29

Proposed resolution:

Wording relative to N4700.

  1. Add a new paragraph in [mem.poly.allocator.class] after para 1:

    1 A specialization of class template pmr::polymorphic_allocator conforms to the Allocator requirements [...]

    -?- All specializations of class template pmr::polymorphic_allocator satisfy the allocator completeness requirements ([allocator.requirements.completeness]).

Date: 2018-11-12.04:39:29

[ 2018-11, Adopted in San Diego ]

Date: 2018-08-23.00:00:00

[ 2018-08-23 Batavia Issues processing ]

Status to Tentatively Ready

Date: 2018-01-29.17:21:16

[ 2018-01; Priority set to 2 after mailing list discussion ]

Date: 2017-11-15.00:00:00

polymorphic_allocator can trivially support the allocator completeness requirements ([allocator.requirements.completeness]) just as does the default allocator. Doing so imposes no implementation burden, and enables pmr::forward_list, pmr::list, and pmr::vector to support incomplete types as do the non-pmr equivalents.

History
Date User Action Args
2021-02-25 10:48:01adminsetstatus: wp -> c++20
2018-11-12 04:39:29adminsetmessages: + msg10189
2018-11-12 04:39:29adminsetstatus: voting -> wp
2018-10-08 05:13:59adminsetstatus: ready -> voting
2018-08-24 13:31:33adminsetmessages: + msg10125
2018-08-24 13:31:33adminsetstatus: new -> ready
2018-01-29 17:21:16adminsetmessages: + msg9659
2017-11-15 17:47:22adminsetmessages: + msg9561
2017-11-15 00:00:00admincreate