April 25, 2013 [Issue 9988] New: Documented that padding holes must be zero-initialized | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=9988 Summary: Documented that padding holes must be zero-initialized Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: spec Severity: normal Priority: P2 Component: websites AssignedTo: nobody@puremagic.com ReportedBy: verylonglogin.reg@gmail.com --- Comment #0 from Denis Shelomovskij <verylonglogin.reg@gmail.com> 2013-04-25 11:57:45 MSD --- It should be documented that padding holes must be zero-initialized. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 25, 2013 [Issue 9988] Documented that padding holes must be zero-initialized | ||||
---|---|---|---|---|
| ||||
Posted in reply to Denis Shelomovskij | http://d.puremagic.com/issues/show_bug.cgi?id=9988 monarchdodra@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |monarchdodra@gmail.com --- Comment #1 from monarchdodra@gmail.com 2013-04-25 03:40:23 PDT --- 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. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation