[SG10] New issue: missing feature test macro for <span>

Jonathan Wakely cxx at kayari.org
Thu Sep 5 13:51:10 CEST 2019


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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.open-std.org/pipermail/features/attachments/20190905/8847df5e/attachment.html 


More information about the Features mailing list