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

P2527 R3 std::variant_alternative_index and std::tuple_element_index #1181

Open
wg21bot opened this issue Jan 22, 2022 · 11 comments
Open

P2527 R3 std::variant_alternative_index and std::tuple_element_index #1181

wg21bot opened this issue Jan 22, 2022 · 11 comments
Labels
B2 - improvement Bucket 2 as described by P0592: bug fixes, performance improvements, integration fixes for/between e C++26 Targeted at C++26 IS Ship vehicle: IS LWG Library lwg-pending LWG Chair needs to disposition size - small paper size estimate
Milestone

Comments

@wg21bot
Copy link
Collaborator

wg21bot commented Jan 22, 2022

P2527R0 std::variant_alternative_index and std::variant_alternative_index_v (Alex Christensen)

@wg21bot wg21bot added the LEWGI Library Evolution Incubator label Jan 22, 2022
@wg21bot wg21bot added this to the 2022-telecon milestone Jan 22, 2022
@cor3ntin cor3ntin added ready-for-library-evolution-mailing-list-review This paper needs to be discussed on the Library Evolution mailing list LEWG Library Evolution and removed LEWGI Library Evolution Incubator labels Jan 22, 2022
@brycelelbach brycelelbach added size - small paper size estimate C++26 Targeted at C++26 IS Ship vehicle: IS B3 - addition Bucket 3 as described by P0592: material that is not mentioned in P0592 B2 - improvement Bucket 2 as described by P0592: bug fixes, performance improvements, integration fixes for/between e and removed B3 - addition Bucket 3 as described by P0592: material that is not mentioned in P0592 labels Feb 1, 2022
@brycelelbach
Copy link

The current revision does not appear to have wording.

@achristensen07
Copy link

Planning to add wording to R1 if this gets positive feedback.

@achristensen07
Copy link

Also r0 incorrectly says it was published in 2021. It was published in 2022

@brycelelbach
Copy link

@achristensen07 I'd add wording now if you can. We can probably fast track it if there's wording and implementation experience.

@inbal2l and @cor3ntin: If we don't have a revision with wording, the initial mailing list review should just be for feedback and sentiment - no motion to forward directly to Library Evolution.

@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 Jul 13, 2022
@cor3ntin
Copy link

Mailing list review 27-June - 13 July 2022

6 participants

A quick summary:
This feature seems useful as multiple people have expressed interest for it, however there is consensus that the author should,at least, explore more generic solutions, namely

  • This facility should arguably work with tuple
  • This facility looks like a mp_find in disguise, maybe we should explore that, up to and including restarting the conversation about the mp proposal
  • EWG is working on better language support for pack, could and should we leverage that - and maybe P1858 (Generalized pack declaration) could show how it would help with this proposal
  • Additionally, the paper should discuss whether the intended facility is intended to support inherited from variant types, as (some, but not all) variant handling functions do currently support that.

We want to see this paper on the mailing list again, with these questions discussed in the paper.

@wg21bot
Copy link
Collaborator Author

wg21bot commented Oct 17, 2022

P2527R1 std::variant_alternative_index and std::tuple_element_index (Alex Christensen)

@wg21bot wg21bot removed the needs-revision Paper needs changes before it can proceed label Oct 17, 2022
@brycelelbach brycelelbach added the ready-for-library-evolution-meeting-review This paper needs to be discussed at a Library Evolution meeting label Oct 25, 2022
@brycelelbach brycelelbach added the scheduled-for-library-evolution This paper has been scheduled for one of the groups: LEWG, LEWG Incubator, or a Mailing List review label Nov 7, 2022
@FabioFracassi
Copy link
Collaborator

FabioFracassi commented Nov 10, 2022

2022-11-09 13:00 to 15:00 UTC-10 Kona Library Evolution Meeting

2022-11-09 13:00 to 15:00 UTC-10 Kona Library Evolution Minutes

Champion: n/a (Fabio Fracassi presenting)

Chair: Fabio Fracassi

Summary

Short discussion

Next Steps

Paper author produces a revision with the help of a library wordsmith. The revised paper can then go to LWG.

@inbal2l inbal2l changed the title P2527 std::variant_alternative_index and std::variant_alternative_index_v P2527 std::variant_alternative_index and std::tuple_element_index Nov 28, 2022
@brycelelbach
Copy link

2022-11 Library Evolution Electronic Poll Outcomes

Poll 2.5: Send [P2527R1] variant_alternative_index And variant_alternative_index_v to Library Working Group for C++26, classified as an improvement of an existing feature ([P0592R4] bucket 2 item).

Strongly Favor Weakly Favor Neutral Weakly Against Strongly Against
8 6 2 0 1

Outcome: Consensus in favor.

@brycelelbach brycelelbach added LWG Library and removed LEWG Library Evolution ready-for-library-evolution-electronic-poll This paper needs to undergo a Library Evolution electronic poll scheduled-for-library-evolution This paper has been scheduled for one of the groups: LEWG, LEWG Incubator, or a Mailing List review labels Jan 23, 2023
@jensmaurer jensmaurer removed this from the 2022-telecon milestone Jan 25, 2023
@wg21bot
Copy link
Collaborator Author

wg21bot commented Feb 20, 2023

P2527R2 std::variant_alternative_index and std::tuple_element_index (Alex Christensen)

@wg21bot wg21bot removed the needs-revision Paper needs changes before it can proceed label Feb 20, 2023
@wg21bot wg21bot added this to the 2023-telecon milestone Feb 20, 2023
@wg21bot
Copy link
Collaborator Author

wg21bot commented Jan 17, 2024

P2527R3 std::variant_alternative_index and std::tuple_element_index (Alex Christensen)

@wg21bot wg21bot modified the milestones: 2023-telecon, 2024-telecon Jan 17, 2024
@wg21bot wg21bot changed the title P2527 std::variant_alternative_index and std::tuple_element_index P2527 R3 std::variant_alternative_index and std::tuple_element_index Jan 17, 2024
@inbal2l inbal2l added the lwg-pending LWG Chair needs to disposition label Jan 18, 2024
@JeffGarland
Copy link
Member

LWG ended up skipping this paper in Tokyo -- will see it in St. Louis.

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 C++26 Targeted at C++26 IS Ship vehicle: IS LWG Library lwg-pending LWG Chair needs to disposition size - small paper size estimate
Projects
Status: No status
Status: Ready
Development

No branches or pull requests

8 participants