This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of Resolved status.
Section: 18.104.22.168.7 [mdspan.layout.stride] Status: Resolved Submitter: Christian Robert Trott Opened: 2023-01-25 Last modified: 2023-06-13
View all issues with Resolved status.
During work on some follow on proposals for C++26 (like the padded layouts and submdspan) we stumbled over an issue in the C++23 mdspan definition.If you have a layout_stride::mapping with just static extents, its default constructor will produce an inconsistent mapping. All its strides will be 0 but its extents are not. Thus the is_unique property is violated. We wrote a paper to fix this: P2763R0. We describe two options to fix it and state why we prefer one over the other, with proposed wording changes.
[2023-02-06; Reflector poll]
Set priority to 1 after reflector poll.
[2023-06-12 Status changed: New → Resolved.]
Resolved in Issaquah by P2763R0.