Skip to content

P2218 More flexible optional::value_or() #921

Closed
@wg21bot

Description

@wg21bot
Collaborator

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

Activity

added this to the 2020-telecon milestone on Sep 23, 2020
added
LEWGLibrary Evolution
ISShip vehicle: IS
B2 - improvementBucket 2 as described by P0592: bug fixes, performance improvements, integration fixes for/between e
and removed
LEWGILibrary Evolution Incubator
on Oct 14, 2020
inbal2l

inbal2l commented on Dec 13, 2020

@inbal2l
Member

LEWG Mailing list review 2020-11-09

Mailing list review started: https://lists.isocpp.org/lib-ext/2020/11/16617.php

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)

Summary: https://lists.isocpp.org/lib-ext/2020/12/17108.php

Waiting for next revision.

added
needs-revisionPaper needs changes before it can proceed
and removed on Jan 25, 2021
removed this from the 2021-telecon milestone on Nov 12, 2021
brycelelbach

brycelelbach commented on May 24, 2023

@brycelelbach

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

3 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    B2 - improvementBucket 2 as described by P0592: bug fixes, performance improvements, integration fixes for/between eISShip vehicle: ISLEWGLibrary Evolutionneeds-revisionPaper needs changes before it can proceedsize - smallpaper size estimate

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @brycelelbach@jwakely@cor3ntin@inbal2l@jensmaurer

        Issue actions

          P2218 More flexible optional::value_or() · Issue #921 · cplusplus/papers