C++ Logo


Advanced search

Re: [SG10] [isocpp-lib] New issue: missing feature test macro for <span>

From: Billy O'Neal (VC LIBS) <"Billy>
Date: Thu, 5 Sep 2019 17:50:32 +0000
P0 😋
From: Lib <lib-bounces_at_[hidden]> on behalf of Jonathan Wakely via Lib <lib_at_[hidden]>
Sent: Thursday, September 5, 2019 04:51 AM
To: Library Working Group <lib_at_[hidden]ocpp.org>; features_at_[hidden] (features_at_[hidden]) <features_at_[hidden]>
Cc: Jonathan Wakely <cxx_at_[hidden]>; JeanHeyd Meneide <phdofthehouse_at_[hidden]>
Subject: [isocpp-lib] New issue: missing feature test macro for <span>

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.

Proposed resolution:

Add a row to [tab:support.ft] in [support.limits.general]:

__cpp_lib_span 201902L <span>

Received on 2019-09-05 19:50:36