Skip to content

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

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cxx26 C++26 feature
Projects
Status: Initial Review
Development

Successfully merging this pull request may close these issues.

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