Skip to content
This repository was archived by the owner on Sep 18, 2024. It is now read-only.
This repository was archived by the owner on Sep 18, 2024. It is now read-only.

P1684: Make converting construction from mdspan/mdarray unconditionally explicit #21

Description

@mhoemmen

This comes from 1684R2 LEWG review on 2022/04/19.

One reviewer pointed out: string(string_view) constructor is unconditionally explicit, because it may require an expensive allocation and/or copy. Analogously, converting construction of an mdarray from mdarray or mdspan should also be unconditionally explicit.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1684Issues in P1684, the specification of mdarray

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions