Skip to content

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

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

Closed
jensmaurer opened this issue Dec 2, 2023 · 1 comment · Fixed by cplusplus/draft#7100
Closed

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

jensmaurer opened this issue Dec 2, 2023 · 1 comment · Fixed by cplusplus/draft#7100
Labels
CWG Core plenary-approved Papers approved for inclusion in their target vehicle by plenary vote.
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 modified the milestones: 2023-telecon, 2024-03 Mar 19, 2024
@jensmaurer jensmaurer modified the milestones: 2024-03, 2024-06 Jun 25, 2024
@jensmaurer jensmaurer added this to CWG Jul 15, 2024
@jensmaurer jensmaurer moved this to Approved for plenary vote in CWG Jul 15, 2024
@jensmaurer jensmaurer added the plenary-approved Papers approved for inclusion in their target vehicle by plenary vote. label Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CWG Core plenary-approved Papers approved for inclusion in their target vehicle by plenary vote.
Projects
Archived in project
2 participants