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

LWG-3847 ranges::to can still return views #3479

Merged
merged 5 commits into from
Feb 23, 2023

Conversation

mlemacio
Copy link
Contributor

Adds extra constraints on type_Container that it can't be cv-qualified
Fixes #3417

Note: This is just a best guess attempt at a solution. I'm expecting I missed somethings here and will need to update

stl/inc/ranges Outdated Show resolved Hide resolved
@mlemacio mlemacio requested a review from a team as a code owner February 18, 2023 14:13
stl/inc/ranges Outdated Show resolved Hide resolved
stl/inc/ranges Outdated Show resolved Hide resolved
stl/inc/ranges Outdated Show resolved Hide resolved
stl/inc/ranges Outdated Show resolved Hide resolved
@hewillk

This comment was marked as resolved.

@CaseyCarter CaseyCarter added LWG Library Working Group issue ranges C++20/23 ranges labels Feb 18, 2023
@mlemacio

This comment was marked as resolved.

@hewillk

This comment was marked as resolved.

@SuperWig

This comment was marked as resolved.

@mlemacio

This comment was marked as resolved.

stl/inc/ranges Outdated Show resolved Hide resolved
stl/inc/ranges Outdated Show resolved Hide resolved
@StephanTLavavej
Copy link
Member

Thanks! I went ahead and pushed a couple of small fixes to the citations, removing the Working Paper number (as we don't have the patched document yet), and fixing a copy-pasted stable name. FYI @strega-nil-ms as you already approved.

Status update for this and your other PR: We merge PRs to the GitHub and MSVC-internal repos in a semi-manual process, batched up to save time. Your PRs will be part of the next batch this week (very likely soon, we've got a dozen ready). 😸

@StephanTLavavej StephanTLavavej self-assigned this Feb 22, 2023
@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 1bddf4c into microsoft:main Feb 23, 2023
@StephanTLavavej
Copy link
Member

Thanks for improving diagnostics for users here, and congratulations on your second microsoft/STL commit! 🐱 😸 🎉

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-3847 ranges::to can still return views
8 participants
  翻译: