Static inline field initialization

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Tue Aug 22 08:52:48 PDT 2017


On Tuesday, 22 August 2017 at 14:53:21 UTC, Moritz Maxeiner wrote:
> There is a bug [1] - as others have pointed out - that the 
> static array isn't stored in TLS, but in global storage, 
> however, but that doesn't apply in this single threaded case.

The initializer is copied from typeinfo, that can't refer to TLS 
data.


More information about the Digitalmars-d mailing list