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

Properly destroy vector<shared_ptr<uninstantiable>> #4373

Merged
merged 2 commits into from Feb 13, 2024

Conversation

CaseyCarter
Copy link
Member

By qualifying _Ugly calls in vector::_Tidy, allocator's member functions, and _Destroy_range to avoid inadvertent ADL.

Fixes #3842

By qualifying `_Ugly` calls in `vector::_Tidy`, `allocator`'s member functions, and `_Destroy_range` to avoid inadvertent ADL.

Fixes microsoft#3842
@CaseyCarter CaseyCarter added the bug Something isn't working label Feb 7, 2024
@CaseyCarter CaseyCarter requested a review from a team as a code owner February 7, 2024 23:32
@github-actions github-actions bot added this to Initial Review in Code Reviews Feb 7, 2024
@CaseyCarter CaseyCarter moved this from Initial Review to Final Review in Code Reviews Feb 7, 2024
@StephanTLavavej StephanTLavavej moved this from Final Review to Ready To Merge in Code Reviews Feb 8, 2024
@StephanTLavavej StephanTLavavej self-assigned this Feb 12, 2024
@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 b3dd271 into microsoft:main Feb 13, 2024
35 checks passed
Code Reviews automation moved this from Ready To Merge to Done Feb 13, 2024
@StephanTLavavej
Copy link
Member

Thanks for fixing the most important destructor in the Standard Library! 🪄 😹 🛠️

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
Archived in project
Development

Successfully merging this pull request may close these issues.

<vector>: std::vector<std::shared_ptr<mytype<T>>> fails to compile when T is incomplete
2 participants