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

P0798 Monadic operations for std::optional #112

Closed
jensmaurer opened this issue Jan 26, 2019 · 12 comments · Fixed by cplusplus/draft#5014
Closed

P0798 Monadic operations for std::optional #112

jensmaurer opened this issue Jan 26, 2019 · 12 comments · Fixed by cplusplus/draft#5014
Labels
C++23 Targeted at C++23 IS Ship vehicle: IS LWG Library plenary-approved Papers approved for inclusion in their target vehicle by plenary vote. SG14 Low Latency size - small paper size estimate
Milestone

Comments

@jensmaurer
Copy link
Member

jensmaurer commented Jan 26, 2019

P0798R2 Monadic operations for std::optional (Simon Brand)

https://issues.isocpp.org/show_bug.cgi?id=367

@jensmaurer jensmaurer added this to the 2019-02 milestone Jan 26, 2019
@jensmaurer jensmaurer added LEWG Library Evolution SG14 Low Latency labels Jan 26, 2019
@jensmaurer
Copy link
Member Author

Titus Winters 2018-11-08 04:23:30 UTC
Discussed in San Diego: http://wiki.edg.com/bin/view/Wg21sandiego2018/P0798

Approval vote:
8 No support for void-returning functions (drop out of monads)
3 Return optionalstd::monostate
1 Specialize optional
3 Add a new thing (something like maybe_invoke)

Require passing callable objects as transform_view does. (No function pointers.)
SF F N A SA
3 6 1 0 1

Use: transform, and_then, or_else (aka replace "map" with "transform")

@jensmaurer
Copy link
Member Author

P0798R3 Monadic operations for std::optional (Simon Brand)

@jensmaurer jensmaurer added this to Wednesday in LEWG in Kona 2019 Feb 6, 2019
@tituswinters
Copy link

tituswinters commented Feb 21, 2019

LEWG in Kona:
Forward to LWG for C++20.
SF F N A SA
2 10 3 3 1

@tituswinters tituswinters added LWG Library and removed LEWG Library Evolution labels Feb 21, 2019
@jensmaurer jensmaurer removed this from Wednesday in LEWG in Kona 2019 Feb 24, 2019
@jensmaurer jensmaurer modified the milestones: 2019-02, 2019-07 Feb 24, 2019
@wg21bot
Copy link
Collaborator

wg21bot commented Mar 20, 2019

P0798R4 Monadic operations for std::optional (Simon Brand)

@mclow mclow added the C++20 Targeted at C++20 label Jul 10, 2019
@mclow
Copy link

mclow commented Jul 16, 2019

Discussed in small group on Tuesday in Cologne

@jensmaurer jensmaurer modified the milestones: 2019-07, 2019-11 Aug 23, 2019
@mclow mclow removed the C++20 Targeted at C++20 label Nov 3, 2019
@mclow
Copy link

mclow commented Nov 3, 2019

This was not adopted for C++20. Removing the "C++20" label.

@jensmaurer jensmaurer modified the milestones: 2019-11, 2020-02 Dec 11, 2019
@JeffGarland JeffGarland added the C++23 Targeted at C++23 label Feb 18, 2020
@jensmaurer jensmaurer added IS Ship vehicle: IS and removed C++23 Targeted at C++23 labels Feb 18, 2020
@JeffGarland JeffGarland added the lwg-prereview Needs LWG initial review before full group label Mar 25, 2020
@ben-craig ben-craig added B3 - addition Bucket 3 as described by P0592: material that is not mentioned in P0592 size - small paper size estimate labels Oct 17, 2020
@jensmaurer jensmaurer modified the milestones: 2020-02, 2021-telecon Dec 28, 2020
@wg21bot
Copy link
Collaborator

wg21bot commented May 21, 2021

P0798R6 Monadic operations for std::optional (Sy Brand)

@JeffGarland JeffGarland added lwg-fullreview Paper is ready for lwg full group review and removed lwg-prereview Needs LWG initial review before full group labels Jun 25, 2021
@JeffGarland
Copy link
Member

LWG held a review of R6 on 2021-06-25 and requested changes.

https://wiki.edg.com/bin/view/Wg21telecons2021/P0798-20210625

@JeffGarland
Copy link
Member

LWG completed review 2021-07-09

poll: Adopt D0798R8 Monadic operations for std::optional for C++23?

F A N
7 0 0

https://wiki.edg.com/bin/view/Wg21telecons2021/P0798-20210709

@JeffGarland JeffGarland added C++23 Targeted at C++23 tentatively-ready-for-plenary Reviewed between meetings; ready for a vote. and removed lwg-fullreview Paper is ready for lwg full group review B3 - addition Bucket 3 as described by P0592: material that is not mentioned in P0592 labels Jul 10, 2021
@jwakely
Copy link
Member

jwakely commented Sep 20, 2021

Did P0798R8 get published?

@cor3ntin cor3ntin added plenary-approved Papers approved for inclusion in their target vehicle by plenary vote. and removed tentatively-ready-for-plenary Reviewed between meetings; ready for a vote. labels Oct 4, 2021
@wg21bot
Copy link
Collaborator

wg21bot commented Oct 26, 2021

P0798R8 Monadic operations for std::optional (Simon Brand)

@wg21bot
Copy link
Collaborator

wg21bot commented Oct 26, 2021

Adopted 2021-10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++23 Targeted at C++23 IS Ship vehicle: IS LWG Library plenary-approved Papers approved for inclusion in their target vehicle by plenary vote. SG14 Low Latency size - small paper size estimate
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants