Skip to content

mdspan layout_left / layout_right conversion rank constraint #158316

@breese

Description

@breese

The converting constructor for from layout_right to layout_left is conditioned on _OtherExtents::rank(), but according to [mdspan.layout.left.cons] this should be extents_type::rank().

The same applies to the corresponding converting for layout_right.

Metadata

Metadata

Assignees

No one assigned

    Labels

    libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions