Title
Missing __cpp_lib_constexpr_complex for P0415R1
Status
c++20
Section
[version.syn]
Submitter
Stephan T. Lavavej

Created on 2019-12-04.00:00:00 last changed 38 months ago

Messages

Date: 2019-12-12.18:30:03

Proposed resolution:

This wording is relative to N4842.

  1. Modify [version.syn] p2 as indicated:

    […]
    #define __cpp_lib_constexpr_algorithms    201806L // also in <algorithm>
    #define __cpp_lib_constexpr_complex       201711L // also in <complex>
    #define __cpp_lib_constexpr_dynamic_alloc 201907L // also in <memory>
    […]
    
Date: 2019-12-12.00:00:00

[ 2019-12-12 Issue Prioritization ]

Status to Tentatively Ready and priority to 0 after twelve positive votes on the reflector.

Date: 2019-12-04.00:00:00

P1902R1 "Missing feature-test macros 2017-2019", accepted in Belfast, said:

[P0415R1] (Constexpr for std::complex): this paper proposes to introduce the macro __cpp_lib_constexpr_complex. That is, introducing a new macro for this header.

However, __cpp_lib_constexpr_complex wasn't mentioned in the Wording section, and doesn't appear in the latest WP N4842.

P0415R1 was accepted in Albuquerque (November 2017), and the paper itself said "For the purposes of SG10, we recommend the feature-testing macro name __cpp_lib_constexpr_complex.", so this has been accepted and then overlooked by WG21 twice.

History
Date User Action Args
2021-02-25 10:48:01adminsetstatus: wp -> c++20
2020-02-24 16:02:59adminsetstatus: voting -> wp
2020-01-17 04:54:50adminsetstatus: ready -> voting
2019-12-12 18:30:03adminsetmessages: + msg10882
2019-12-12 18:30:03adminsetstatus: new -> ready
2019-12-07 14:02:46adminsetmessages: + msg10863
2019-12-04 00:00:00admincreate