Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2019-02 LWG Motion 17] P1024R3 Usability Enhancements for std::span #2708

Closed
jensmaurer opened this issue Feb 24, 2019 · 2 comments
Closed
Assignees
Milestone

Comments

@jensmaurer
Copy link
Member

jensmaurer commented Feb 24, 2019

P1024R3

@CaseyCarter
Copy link
Contributor

FYI: this paper has an interaction with P1227R2, which changes the type of span's second template parameter from ptrdiff_t to size_t. After application of P1227R2, the specializations of tuple_size and tuple_element that this paper adds will never be matched (which IIRC means they are ill-formed NDR).

LWG is hoping - @mclow can verify - that we can editorially change the ptrdiff_t's in this paper to size_t's to resolve the conflict.

@mclow
Copy link
Contributor

mclow commented Mar 1, 2019

I offered (in plenary) to consult about merge conflicts between P1024 and P1227. I have implemented both in libc++ w/o any compatibility concerns (doing what Casey suggested)

zygoloid added a commit that referenced this issue Mar 15, 2019
P1024R3 Usability Enhancements for std::span

Fixes #2708.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants