dlang.org
dlang.org copied to clipboard
Documented that padding holes must be zero-initialized
Denis Shelomovskii (@denis-sh) reported this on 2013-04-25T00:57:45Z
Transferred from https://issues.dlang.org/show_bug.cgi?id=9988
CC List
Description
It should be documented that padding holes must be zero-initialized.
monarchdodra commented on 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.