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

CWG2819 Cast from null pointer value in a constant expression #1698

Open
jensmaurer opened this issue Dec 2, 2023 · 1 comment
Open

CWG2819 Cast from null pointer value in a constant expression #1698

jensmaurer opened this issue Dec 2, 2023 · 1 comment
Labels
CWG Core
Projects
Milestone

Comments

@jensmaurer
Copy link
Member

The issue asks to support conversions from void* to a pointer-to-object type also when the original pointer is a null pointer value.

CWG seeks approval from EWG for the design direction.

See CWG2819 for details.

@jensmaurer jensmaurer added the EWG Evolution label Dec 2, 2023
@jensmaurer jensmaurer added this to the 2023-telecon milestone Dec 2, 2023
@erichkeane
Copy link
Collaborator

EWG discussed this during the Monday AM session on Tokyo. The following poll was taken:

For CWG2819, EWG agrees with the proposed resolution, send back to CWG for inclusion in C++26.

SF F N A SA
12 13 0 0 0

Result:Consensus

@erichkeane erichkeane added CWG Core and removed EWG Evolution labels Mar 18, 2024
@jensmaurer jensmaurer added this to Ready for review in CWG Mar 18, 2024
@jensmaurer jensmaurer modified the milestones: 2023-telecon, 2024-03 Mar 19, 2024
@jensmaurer jensmaurer moved this from Ready for review to Approved for plenary vote in CWG Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CWG Core
Projects
CWG
Approved for plenary vote
Development

No branches or pull requests

2 participants