Title
Missing feature test macro for <span>
Status
c++20
Section
[support.limits.general]
Submitter
Jonathan Wakely

Created on 2019-09-05.00:00:00 last changed 38 months ago

Messages

Date: 2019-09-24.19:39:31

Proposed resolution:

This wording is relative to N4830.

  1. Modify the Table 36 "Standard library feature-test macros" [tab:support.ft] in [support.limits.general] as indicated:

    Table 36: Standard library feature-test macros [tab:support.ft]
    Macro name Value Header(s)
    […]
    __cpp_lib_span 201902L <span>
    […]
Date: 2019-09-24.00:00:00

[ 2019-09-24 Issue Prioritization ]

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

Date: 2019-09-05.00:00:00

There is no feature test macro for std::span.

For the purposes of SD-6, I think we want two values: 201803L for the original addition of <span> by P0122R7 (Jacksonville, 2018) and then 201902L for the API changes from P1024R3 (Kona, 2019). The C++ working draft only needs the newer value.

History
Date User Action Args
2021-02-25 10:48:01adminsetstatus: wp -> c++20
2019-11-19 14:48:30adminsetstatus: voting -> wp
2019-10-07 02:48:00adminsetstatus: ready -> voting
2019-09-24 19:39:31adminsetmessages: + msg10669
2019-09-24 19:39:31adminsetstatus: new -> ready
2019-09-14 16:18:22adminsetmessages: + msg10613
2019-09-05 00:00:00admincreate