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

P2218 More flexible optional::value_or() #921

Closed
wg21bot opened this issue Sep 23, 2020 · 3 comments
Closed

P2218 More flexible optional::value_or() #921

wg21bot opened this issue Sep 23, 2020 · 3 comments
Labels
B2 - improvement Bucket 2 as described by P0592: bug fixes, performance improvements, integration fixes for/between e IS Ship vehicle: IS LEWG Library Evolution needs-revision Paper needs changes before it can proceed size - small paper size estimate

Comments

@wg21bot
Copy link
Collaborator

wg21bot commented Sep 23, 2020

P2218R0 More flexible optional::value_or() (Marc Mutz)

@wg21bot wg21bot added the LEWGI Library Evolution Incubator label Sep 23, 2020
@wg21bot wg21bot added this to the 2020-telecon milestone Sep 23, 2020
@brycelelbach brycelelbach added LEWG Library Evolution IS Ship vehicle: IS B2 - improvement Bucket 2 as described by P0592: bug fixes, performance improvements, integration fixes for/between e ready-for-library-evolution-mailing-list-review This paper needs to be discussed on the Library Evolution mailing list and removed LEWGI Library Evolution Incubator labels Oct 14, 2020
@inbal2l
Copy link
Collaborator

inbal2l commented Dec 13, 2020

Author should explore further. Some directions from the mailing list:

  1. A request for examples of usage of optional<T&>.
  2. A request for detailed specification of the impact on current code and library. 
    (suggestions: uses of std::move(**this) change to *std::move(*this), also a question of return value T of all value_or functions is brought up)
  3. Consider: making value_or variadic.
  4. Related proposals:
  5. A request to focus on and add existing alternatives to the paper.
  6. Please take under consideration a possible solution supported by Metaprogramming. (http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p2237r0.pdf)

Waiting for next revision.

@jensmaurer jensmaurer modified the milestones: 2020-telecon, 2021-telecon Dec 28, 2020
@cor3ntin cor3ntin added needs-revision Paper needs changes before it can proceed and removed ready-for-library-evolution-mailing-list-review This paper needs to be discussed on the Library Evolution mailing list labels Jan 25, 2021
@jensmaurer jensmaurer removed this from the 2021-telecon milestone Nov 12, 2021
@brycelelbach brycelelbach added the size - small paper size estimate label May 24, 2023
@brycelelbach
Copy link

Closing due to more than 1 year of inactivity. Please re-open if further work is expected.

@jwakely
Copy link
Member

jwakely commented May 24, 2023

Marc posted a draft to the reflector in February but I don't think he published it yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B2 - improvement Bucket 2 as described by P0592: bug fixes, performance improvements, integration fixes for/between e IS Ship vehicle: IS LEWG Library Evolution needs-revision Paper needs changes before it can proceed size - small paper size estimate
Projects
None yet
Development

No branches or pull requests

6 participants