§[mdspan.syn] Missing definition of full_extent_t and full_extent
S. B. Tam

Created on 2023-08-16.00:00:00 last changed 8 months ago


Date: 2023-11-13.14:08:10

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-11-11.00:00:00

[ 2023-11-11 Approved at November 2023 meeting in Kona. Status changed: Voting → WP. ]

Date: 2023-10-15.00:00:00

[ 2023-10-27; Reflector poll ]

Set status to Tentatively Ready after nine votes in favour during reflector poll.

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.

Date User Action Args
2023-11-13 14:08:10adminsetmessages: + msg13850
2023-11-13 14:08:10adminsetstatus: voting -> wp
2023-11-07 21:41:54adminsetstatus: ready -> voting
2023-10-27 21:22:44adminsetmessages: + msg13769
2023-10-27 21:22:44adminsetstatus: new -> ready
2023-08-26 10:08:34adminsetmessages: + msg13710
2023-08-16 00:00:00admincreate