Title
§[mdspan.syn] Missing definition of full_extent_t and full_extent
Status
new
Section
[mdspan.syn]
Submitter
S. B. Tam

Created on 2023-08-16.00:00:00 last changed 3 weeks ago

Messages

Date: 2023-08-26.10:08:34

Proposed resolution:

This wording is relative to N4958.

  1. Modify [mdspan.syn] as indicated:

    […]
    // [mdspan.submdspan], submdspan creation
    template<class OffsetType, class LengthType, class StrideType>
      struct strided_slice;
    
    template<class LayoutMapping>
      struct submdspan_mapping_result;
      
    struct full_extent_t { explicit full_extent_t() = default; };
    inline constexpr full_extent_t full_extent{};
    […]
    
Date: 2023-08-16.00:00:00

submdspan uses a type called full_extent_t, but there isn't a definition for that type.

It appears that full_extent_t (along with full_extent) was proposed in P0009 before submdspan was moved into its own paper, and its definition failed to be included in P2630 Submdspan.

History
Date User Action Args
2023-08-26 10:08:34adminsetmessages: + msg13710
2023-08-16 00:00:00admincreate