[Issue 13678] TypeInfo.init is inconsistent
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Dec 15 07:13:32 PST 2015
https://issues.dlang.org/show_bug.cgi?id=13678
Steven Schveighoffer <schveiguy at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |schveiguy at yahoo.com
--- Comment #2 from Steven Schveighoffer <schveiguy at yahoo.com> ---
init.ptr is null means that the data should be initialized to zero.
As far as I know, there is no mechanism to say you shouldn't initialize the
data.
That being said, I can agree that all of the cases above should have null
pointers for init (soon to be called initializer). No reason to store those
zeros in the data segment.
--
More information about the Digitalmars-d-bugs
mailing list