Section: 18.104.22.168.2 [span.cons] Status: C++20 Submitter: Lars Gullik Bjønnes Opened: 2019-04-03 Last modified: 2021-02-25 10:48:01 UTC
Priority: Not Prioritized
View all other issues in [span.cons].
View all issues with C++20 status.
It seems that this was left out of P1089. The constraint on span() (22.214.171.124.2 [span.cons]) in the current draft is:
Constraints: Extent <= 0 is true.
This does not seem to make much sense.The proposal is to change the constraint to be:
[2019-06-09; Priority to 0 and Status to Tentatively Ready after five positive votes on the reflector.]
Constraints: Extent == dynamic_extent || Extent == 0 is true.
This wording is relative to N4810.
Modify 126.96.36.199.2 [span.cons] as indicated:
constexpr span() noexcept;
-1- Constraints: Extent
<= 0 is true.