[Issue 9988] Documented that padding holes must be zero-initialized

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 25 03:40:24 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9988


monarchdodra at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |monarchdodra at gmail.com


--- Comment #1 from monarchdodra at 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: -------


More information about the Digitalmars-d-bugs mailing list