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-3525: uses_allocator_construction_args fails to handle types convertible to pair #2639

Merged
merged 22 commits into from
May 1, 2022

Conversation

frederick-vs-ja
Copy link
Contributor

Fixes #2551.

I also transform the resolution into C++17 and apply it to earlier modes. Because LWG-3525 fixes the wrong fix made by LWG-2975, which is clearly applicable to C++11~17.

@frederick-vs-ja frederick-vs-ja requested a review from a team as a code owner April 5, 2022 04:20
stl/inc/xmemory Outdated Show resolved Hide resolved
@StephanTLavavej StephanTLavavej added the LWG Library Working Group issue label Apr 5, 2022
@StephanTLavavej StephanTLavavej self-assigned this Apr 6, 2022
@StephanTLavavej
Copy link
Member

⚠️ Note to self:

I need to export the new overload of uses_allocator_construction_args when this is merged.

stl/inc/xmemory Outdated Show resolved Hide resolved
stl/inc/xmemory Outdated Show resolved Hide resolved
stl/inc/xmemory Outdated Show resolved Hide resolved
stl/inc/xmemory Show resolved Hide resolved
stl/inc/xmemory Outdated Show resolved Hide resolved
@StephanTLavavej

This comment was marked as resolved.

@StephanTLavavej StephanTLavavej removed their assignment Apr 21, 2022
stl/inc/xmemory Outdated Show resolved Hide resolved
stl/inc/xmemory Outdated Show resolved Hide resolved
@CaseyCarter CaseyCarter removed their assignment Apr 28, 2022
@CaseyCarter

This comment was marked as resolved.

@StephanTLavavej StephanTLavavej self-assigned this Apr 30, 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 54f4ac6 into microsoft:main May 1, 2022
@StephanTLavavej
Copy link
Member

Thanks for implementing this LWG issue resolution and improving the usability of the pmr containers! 🚀 😸 🎉

@frederick-vs-ja frederick-vs-ja deleted the lwg-3525 branch May 1, 2022 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LWG Library Working Group issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LWG-3525 uses_allocator_construction_args fails to handle types convertible to pair
5 participants