Title
[fund.ts.v3] Reinstate and bump __cpp_lib_experimental_memory_resource feature test macro
Status
open
Section
[general.feature.test]
Submitter
Thomas Köppe

Created on 2021-12-03.00:00:00 last changed 28 months ago

Messages

Date: 2022-02-10.12:58:57

Proposed resolution:

This wording is relative to N4853.

  1. Modify [general.feature.test], Table 2, as indicated:

    Table 2 — Significant features in this technical specification
    Doc. No. Title Primary
    Section
    Macro Name Suffix Value Header
    N3916 Type-erased allocator for std::function 4.2 function_erased_allocator 201406 <experimental/functional>
    N3916 Polymorphic Memory Resources [memory.resource.syn] memory_resources [new value] <experimental/memory_resource>
    N4282 The World's Dumbest Smart Pointer 8.12 observer_ptr 201411 <experimental/memory>
Date: 2022-07-11.00:00:00

[ 2022-07-11 Approved at February 2022 virtual plenary. Status changed: Tentatively Ready → TS. ]

Date: 2022-01-15.00:00:00

[ 2022-01-30; Reflector poll ]

Set status to Tentatively Ready after six votes in favour during reflector poll.

Date: 2021-12-03.00:00:00

Addresses: fund.ts.v3

The rebase on C++17 in P0996 had the effect of deleting the feature test macro __cpp_lib_experimental_memory_resource: the macro was ostensibly tied to the memory_resource facility that had become part of C++17, but we overlooked that there was a residual piece that has not been adopted in the IS, namely the resource_adaptor class template.

It is still useful to be able to detect the presence of resource_adaptor, so we should reinstate the feature test macro and bump its value.

History
Date User Action Args
2022-07-11 08:46:17adminsetstatus: ready -> open
2022-02-11 14:06:20adminsetstatus: wp -> ready
2022-02-10 12:58:57adminsetmessages: + msg12360
2022-02-10 12:58:57adminsetstatus: ready -> wp
2022-01-30 16:43:20adminsetmessages: + msg12305
2022-01-30 16:43:20adminsetstatus: new -> ready
2021-12-04 14:58:49adminsetmessages: + msg12249
2021-12-03 00:00:00admincreate