-
Notifications
You must be signed in to change notification settings - Fork 1
P2723 Zero-initialize objects of automatic storage duration #1401
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
Comments
P2723R1 Zero-initialize objects of automatic storage duration (JF Bastien) |
P2723R1 SG23 (Safety and Security) saw this Chairs: Roger Orr, Ben Craig POLL: We are interested in pursuing some form of automatic stack variable initialization.
Outcome: Consensus in favor SA: Would like to see forced manual initialization WA: Same Next Steps:EWG should see this next. |
This paper was discussed in EWG during the February 10th, 2023 morning session in Issaquah. The following polls were taken: EWG is interested in some form of automatic stack variable initialization.
Result: Consensus EWG believes zero initialization, as presented in P2723R1, is the approach we wish to take to automatic stack variable initialization (with opt out).
Result: Consensus As a syntax for opting-out of automatic stack variable initialization, EWG prefers the [[uninitialized]] attribute.
Result: Not Consensus As a syntax for opting-out of automatic stack variable initialization, EWG prefers assignment from void.
Result: Not Consensus As a syntax for opting-out of automatic stack variable initialization, EWG prefers a magic std::uninitialized library type.
Result: Weak Consensus |
This paper has been blocked on progress for #1460. |
P2795 was merged in March. |
P2723R0 Zero-initialize objects of automatic storage duration (JF Bastien)
The text was updated successfully, but these errors were encountered: