KEMBAR78
Implement P3503R3 Make Type-Erased Allocator Use In `promise` And `packaged_task` Consistent by frederick-vs-ja · Pull Request #5630 · microsoft/STL · GitHub
Skip to content

Conversation

@frederick-vs-ja
Copy link
Contributor

@frederick-vs-ja frederick-vs-ja commented Jun 30, 2025

... as a Defect Report against old modes (ideally since C++11). Fixes #5615.

This paper reverts LWG-2921 and supersedes LWG-2976, so I'm removing the corresponding comments from <yvals_core.h>.

The new behavior depends on dynamic_cast due to ABI compatibility. Old behavior is kept when dynamic RTTI is off.

@StephanTLavavej StephanTLavavej removed their assignment Oct 22, 2025
@StephanTLavavej StephanTLavavej moved this from Initial Review to Ready To Merge in STL Code Reviews Oct 22, 2025
@StephanTLavavej
Copy link
Member

Thanks! 😻 Apologies for taking 4 months to review this. I pushed a minor test fix and various nitpicks.

@StephanTLavavej StephanTLavavej moved this from Ready To Merge to Merging in STL Code Reviews Oct 22, 2025
@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 b44cd81 into microsoft:main Oct 22, 2025
39 checks passed
@github-project-automation github-project-automation bot moved this from Merging to Done in STL Code Reviews Oct 22, 2025
@StephanTLavavej
Copy link
Member

Thanks for implementing this C++26 feature interacting with a bunch of old weird tech! 😻 🎉 ⚙️

@frederick-vs-ja frederick-vs-ja deleted the p3503r3 branch October 22, 2025 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cxx26 C++26 feature

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

P3503R3 Make Type-Erased Allocator Use In promise And packaged_task Consistent

2 participants