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

P2278R4: views::as_const #3234

Merged
merged 8 commits into from
Dec 15, 2022
Merged

Conversation

JMazurkiewicz
Copy link
Contributor

@JMazurkiewicz JMazurkiewicz commented Nov 16, 2022

Closes #2918 - "cbegin should always return a constant iterator".

@StephanTLavavej
Copy link
Member

Thanks, this is awesome! Just wanted to mention that most of the maintainers will be on vacation for Thanksgiving week in the US, but we'll review this when we get back. 😸

@JMazurkiewicz
Copy link
Contributor Author

And... it's an ICE 😤

@barcharcraz
Copy link
Member

Do you happen to have a reduced case for this ICE? If not don't worry about it, I'll reduce it and push a transition comment.

@JMazurkiewicz
Copy link
Contributor Author

Do you happen to have a reduced case for this ICE?

Nope

@barcharcraz
Copy link
Member

Filed the frontend bug internally as VSO-1692469. I have not pushed a transition comment as I think the workaround improves the code anyway, so I don't think we need to come back to it when this bug is fixed.

@barcharcraz barcharcraz removed their assignment Dec 7, 2022
@StephanTLavavej StephanTLavavej self-assigned this Dec 7, 2022
@StephanTLavavej StephanTLavavej removed their assignment Dec 10, 2022
@StephanTLavavej
Copy link
Member

Thanks, this looks fantastic! 😻 I pushed changes for 3 incredibly tiny nitpicks in the test code.

@StephanTLavavej StephanTLavavej self-assigned this Dec 15, 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 032120d into microsoft:main Dec 15, 2022
@StephanTLavavej
Copy link
Member

Thanks for implementing this feature step-by-step, it was a pleasure to review! 😻 🎉 🚀

@JMazurkiewicz JMazurkiewicz deleted the as_const_view branch December 15, 2022 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cxx23 C++23 feature ranges C++20/23 ranges
Projects
None yet
Development

Successfully merging this pull request may close these issues.

P2278R4 cbegin Should Always Return A Constant Iterator
4 participants