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

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

Open
mhoemmen opened this issue Apr 23, 2022 · 1 comment
Labels
P1684 Issues in P1684, the specification of mdarray

Comments

@mhoemmen
Copy link
Contributor

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.

@mhoemmen mhoemmen added the P1684 Issues in P1684, the specification of mdarray label Apr 23, 2022
@crtrott
Copy link
Member

crtrott commented Apr 25, 2022

But queue(Iterator begin, Iterator end) is not explicit either.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P1684 Issues in P1684, the specification of mdarray
Projects
None yet
Development

No branches or pull requests

2 participants