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

Qualify calls to helpers that are in both _STD and _RANGES #3270

Merged
merged 1 commit into from
Dec 15, 2022

Conversation

CaseyCarter
Copy link
Member

I've also consistently qualified calls to namespace-scope function templates ("things") defined in _RANGES that have both qualified and unqualified calls. I have not qualified calls to things defined only in either _STD or _RANGES for which all existing calls are unqualified. (This isn't trying to be a "let's qualify all ugly calls" change, but only "let's make it clear that we're fixing #3203".)

Fixes #3203

I've also consistently qualified calls to namespace-scope function templates ("things") defined in `_RANGES` that have both qualified and unqualified calls. I have _not_ qualified calls to things defined only in either `_STD` or `_RANGES` for which all existing calls are unqualified. (This isn't trying to be a "let's qualify all ugly calls" change, but only "let's make it clear that we're fixing microsoft#3203".)

Fixes microsoft#3203
@CaseyCarter CaseyCarter added the bug Something isn't working label Dec 7, 2022
@CaseyCarter CaseyCarter requested a review from a team as a code owner December 7, 2022 02:20
@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 cae6660 into microsoft:main Dec 15, 2022
@StephanTLavavej
Copy link
Member

Ha, just noticed your branch name qualified-success! 😹 😸 💯

@CaseyCarter CaseyCarter deleted the qualified-success branch December 15, 2022 22:54
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.

Since 17.4 I cannot use std::copy to copy a view to a container
2 participants