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

Comments

@jensmaurer
Copy link
Member

@jensmaurer 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
Copy link
Member Author

@jensmaurer jensmaurer commented Jan 31, 2019

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

@jensmaurer jensmaurer commented Jan 31, 2019

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
Collaborator

@tituswinters 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 and removed LEWG labels Feb 21, 2019
@jensmaurer jensmaurer removed this from Wednesday in LEWG in Kona 2019 Feb 24, 2019
@jensmaurer jensmaurer removed this from the 2019-02 milestone Feb 24, 2019
@jensmaurer jensmaurer added this to the 2019-07 milestone Feb 24, 2019
@wg21bot
Copy link
Collaborator

@wg21bot wg21bot commented Mar 20, 2019

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

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

@mclow mclow commented Jul 16, 2019

Discussed in small group on Tuesday in Cologne

@jensmaurer jensmaurer removed this from the 2019-07 milestone Aug 23, 2019
@jensmaurer jensmaurer added this to the 2019-11 milestone Aug 23, 2019
@mclow mclow removed the C++20 label Nov 3, 2019
@mclow
Copy link

@mclow mclow commented Nov 3, 2019

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

@jensmaurer jensmaurer removed this from the 2019-11 milestone Dec 11, 2019
@jensmaurer jensmaurer added this to the 2020-02 milestone Dec 11, 2019
@jensmaurer jensmaurer added IS and removed C++23 labels Feb 18, 2020
@jensmaurer jensmaurer removed this from the 2020-02 milestone Dec 28, 2020
@jensmaurer jensmaurer added this to the 2021-telecon milestone Dec 28, 2020
@wg21bot
Copy link
Collaborator

@wg21bot wg21bot commented May 21, 2021

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

@JeffGarland
Copy link
Member

@JeffGarland JeffGarland commented Jun 25, 2021

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

@JeffGarland JeffGarland commented Jul 10, 2021

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

@jwakely
Copy link
Member

@jwakely jwakely commented Sep 20, 2021

Did P0798R8 get published?

@wg21bot
Copy link
Collaborator

@wg21bot wg21bot commented Oct 26, 2021

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

@wg21bot
Copy link
Collaborator

@wg21bot 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
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

8 participants