C++ Logo

sg10

Advanced search

Re: [SG10] P1973R1: what value for the feature test macro?

From: Jens Maurer <Jens.Maurer_at_[hidden]>
Date: Wed, 4 Mar 2020 17:38:07 +0100
On 04/03/2020 01.16, Richard Smith via SG10 wrote:
> http://wiki.edg.com/pub/Wg21prague/StrawPolls/P1973R1.pdf renames __cpp_lib_smart_ptr_default_init to __cpp_lib_smart_ptr_for_overwrite but includes no instruction to change the number. Normally the number in a feature test macro indicates the adoption date of the most recent proposal affecting that feature.
>
> What does SG10 want? Should the number be bumped to 202002L or left as 201811L despite referring to things that didn't exist until this most recent meeting? My inclination is to bump the number; I don't see any reason to not do so.
>
> Preferences?

Bump the number.

Jens

Received on 2020-03-04 10:40:53