The case of &T.init

Vladimir Panteleev via Digitalmars-d digitalmars-d at puremagic.com
Tue May 19 11:46:34 PDT 2015


On Tuesday, 19 May 2015 at 18:39:43 UTC, Marco Leise wrote:
> I was wondering why T.init is treated as a manifest constant.
> Don't all .init's end up in some data segment with a
> resolvable address ?

No, if the .init of a type is all zero bits then it is not placed 
in the data segment.


More information about the Digitalmars-d mailing list