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

P3168 R2 Give std::optional Range Support #1831

Closed
wg21bot opened this issue Apr 17, 2024 · 5 comments · Fixed by cplusplus/draft#7106
Closed

P3168 R2 Give std::optional Range Support #1831

wg21bot opened this issue Apr 17, 2024 · 5 comments · Fixed by cplusplus/draft#7106
Assignees
Labels
B3 - addition Bucket 3 as described by P0592: material that is not mentioned in P0592 C++26 Targeted at C++26 IS Ship vehicle: IS LWG Library plenary-approved Papers approved for inclusion in their target vehicle by plenary vote. size - medium paper size estimate
Milestone

Comments

@wg21bot
Copy link
Collaborator

wg21bot commented Apr 17, 2024

P3168R0 Give std::optional Range Support (David Sankel, Marco Foco, Darius Neațu, Barry Revzin)

@wg21bot wg21bot added the LEWG Library Evolution label Apr 17, 2024
@wg21bot wg21bot added this to the 2024-telecon milestone Apr 17, 2024
@wg21bot
Copy link
Collaborator Author

wg21bot commented Apr 17, 2024

P3168R1 Give std::optional Range Support (David Sankel, Marco Foco, Darius Neațu, Barry Revzin)

@wg21bot wg21bot changed the title P3168 R0 Give std::optional Range Support P3168 R1 Give std::optional Range Support Apr 17, 2024
@ben-craig
Copy link
Collaborator

2024-03-20 Library Evolution Tokyo

P3168R0: Give std::optional Range Support

2024-03-20 Library Evolution Tokyo Minutes

Champion: David Sankel
Chair: Ben Craig / Inbal Levi
Minute Taker: Guy Davidson

Summary

POLL: Modify P3168R0 (Give std::optional Range Support) by opting out of formatter range support for optional and changing the return type of iterator functions from T* to iterator and family, and then send the revised paper to LWG for C++26 classified as B2, to be confirmed with a Library Evolution electronic poll.

SF WF N WA SA
11 3 1 0 2

Attendance: 19+5

# of Authors: 1

Author Position: SF

Outcome: Consensus in favor

Comments:
SA: A bit concerned since we don't have deployment experience. Modifying a fundamental type in a rushed way.
SA: optional is not a range, and we should not treat it as such, but there are lots of things we could do that simplify things because they break the concept of what it represents.

Next Steps

Make the requested changes, add a feature test macro, and go to LWG assuming the electronic poll passes.

@inbal2l
Copy link
Collaborator

inbal2l commented May 23, 2024

P3168R1 was forwarded to LWG for C++26 on LEWG 2024 April electronic poll (P3214R0)

NOTE: The paper was forwarded with week consensus, authors should provide more implementation and deployment experience to increase consensus.

@inbal2l inbal2l added LWG Library IS Ship vehicle: IS lwg-pending LWG Chair needs to disposition size - medium paper size estimate B3 - addition Bucket 3 as described by P0592: material that is not mentioned in P0592 C++26 Targeted at C++26 labels May 23, 2024
@inbal2l inbal2l removed the LEWG Library Evolution label Jun 16, 2024
@JeffGarland
Copy link
Member

LWG reviewed and approved for c++26 in St. Louis.

Poll: put P3168r2 into C++26?
| F | A | N |
| 15 | 0 | 0 |

@JeffGarland JeffGarland moved this to Tentatively Ready in 2024 St Louis LWG Schedule Jun 26, 2024
@ben-craig ben-craig added the plenary-approved Papers approved for inclusion in their target vehicle by plenary vote. label Jul 4, 2024
@JeffGarland JeffGarland removed the lwg-pending LWG Chair needs to disposition label Jul 7, 2024
@wg21bot
Copy link
Collaborator Author

wg21bot commented Jul 16, 2024

P3168R2 Give std::optional Range Support (David Sankel, Marco Foco, Darius Neațu, Barry Revzin)

@wg21bot wg21bot changed the title P3168 R1 Give std::optional Range Support P3168 R2 Give std::optional Range Support Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B3 - addition Bucket 3 as described by P0592: material that is not mentioned in P0592 C++26 Targeted at C++26 IS Ship vehicle: IS LWG Library plenary-approved Papers approved for inclusion in their target vehicle by plenary vote. size - medium paper size estimate
Projects
No open projects
Status: Tentatively Ready
Development

Successfully merging a pull request may close this issue.

5 participants