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

Render keys_view and values_view useless per LWG-3563 #2426

Merged

Conversation

CaseyCarter
Copy link
Member

(There's an argument to be made that they were useless before when they named the result type of views::keys(declval<Rng>()) and views::values(declval<Rng>()), but they certainly are now.) Change our test coverage to views::keys and views::values, the intended UX for extracting fields from ranges.

Fixes #2389

(There's an argument to be made that they were useless before when they named the result type of `views::keys(declval<Rng>())` and `views::values(declval<Rng>())`, but they certainly are now.) Change our test coverage to `views::keys` and `views::values`, the intended UX for extracting fields from ranges.

Fixes microsoft#2389
@CaseyCarter CaseyCarter added LWG Library Working Group issue ranges C++20/23 ranges labels Dec 17, 2021
@CaseyCarter CaseyCarter requested a review from a team as a code owner December 17, 2021 06:07
Copy link
Contributor

@miscco miscco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for submitting this totally unbiased first issue

@mnatsuhara mnatsuhara removed their assignment Jan 13, 2022
@StephanTLavavej StephanTLavavej self-assigned this Jan 19, 2022
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@StephanTLavavej StephanTLavavej merged commit 4dab194 into microsoft:main Jan 20, 2022
@StephanTLavavej
Copy link
Member

Thanks for implementing this LWG issue! 😹 🎉 ✅

@CaseyCarter CaseyCarter deleted the totally_nonbiased_view_of_lwg_3563 branch August 21, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LWG Library Working Group issue ranges C++20/23 ranges
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LWG-3563 keys_view example is broken
4 participants