Dear libstdc++ devs,

One more :)

The clause (8.4.6) reads:

    > A type S is a collapsing slice type if it is neither
    full_extent_t nor a specialization of strided_slice.

    [Note 1: Each collapsing slice type in submdspan_mapping’s parameter
    pack of slice specifier types reduces the rank of the result of
    submdspan_mapping by one. — end note]

To me it's not clear that in this context `S` is restricted to
canonical slice types only. Therefore pair<int, int> is a collapsing
slice type. I'm aware that it's not ever used with non-canonical
slices types; but since it's hard for me to say if it's intentional
or an oversight, I thought it best to mention it.

Kind regards,
Luc

Reply via email to