Bug 9988 – Documented that padding holes must be zero-initialized

Status
NEW
Severity
normal
Priority
P3
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-04-25T00:57:45Z
Last change time
2024-12-15T15:22:12Z
Keywords
spec
Assigned to
No Owner
Creator
Denis Shelomovskii
Moved to GitHub: dlang.org#4024 →

Comments

Comment #0 by verylonglogin.reg — 2013-04-25T00:57:45Z
It should be documented that padding holes must be zero-initialized.
Comment #1 by monarchdodra — 2013-04-25T03:40:23Z
I'm not sure this is necessary, or even correct. Objects simply need to be initialized before use via init. That's the spec... For all I know, the compiler is free to fill padding holes with 0xDEADBEEF, and everything would still work.
Comment #2 by robert.schadek — 2024-12-15T15:22:12Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dlang.org/issues/4024 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB