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

Fix vectors with fancy pointers emitting STL internal checks in ranges algorithms #4244

Merged

Conversation

StephanTLavavej
Copy link
Member

Fixes #4242. Test coverage will be provided by the upcoming libcxx update.

This makes the container's behavior match its iterators. _Unchecked_begin() is implemented like data().

@StephanTLavavej StephanTLavavej added the bug Something isn't working label Dec 6, 2023
@StephanTLavavej StephanTLavavej requested a review from a team as a code owner December 6, 2023 04:21
@CaseyCarter CaseyCarter removed their assignment Dec 6, 2023
@StephanTLavavej StephanTLavavej self-assigned this Dec 7, 2023
@StephanTLavavej
Copy link
Member Author

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

@StephanTLavavej StephanTLavavej merged commit cff27f7 into microsoft:main Dec 7, 2023
37 checks passed
@StephanTLavavej StephanTLavavej deleted the vector-fancy-pointer branch December 7, 2023 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

<vector>: vectors with fancy pointers cause ranges::equal to fail STL-internal checks
2 participants