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

Implement LWG-4027 possibly-const-range should prefer returning const R& #5221

Merged
merged 3 commits into from
Jan 14, 2025

Conversation

frederick-vs-ja
Copy link
Contributor

Fixes #5114.

Test cases from the description of LWG-4027 aren't guarded by _HAS_CXX23 because the resolution makes the behavior unchanged from C++20.

@frederick-vs-ja frederick-vs-ja requested a review from a team as a code owner January 5, 2025 16:57
@StephanTLavavej StephanTLavavej added LWG Library Working Group issue ranges C++20/23 ranges labels Jan 6, 2025
@StephanTLavavej StephanTLavavej self-assigned this Jan 6, 2025
@StephanTLavavej StephanTLavavej removed their assignment Jan 7, 2025
@StephanTLavavej StephanTLavavej self-assigned this Jan 13, 2025
@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 22b5573 into microsoft:main Jan 14, 2025
39 checks passed
@StephanTLavavej
Copy link
Member

🐱 🐱 🐱

@frederick-vs-ja frederick-vs-ja deleted the lwg-4027 branch January 14, 2025 13:55
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
Archived in project
Development

Successfully merging this pull request may close these issues.

LWG-4027 possibly-const-range should prefer returning const R&
2 participants