Is this a bug in dmd 2.067 for struct initializers?
amber via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Feb 22 18:10:08 PST 2015
On Sunday, 22 February 2015 at 23:17:33 UTC, Martin Nowak wrote:
> On Thursday, 19 February 2015 at 22:07:55 UTC, stewarth wrote:
>> I've gone with "static this()" approach and it works.
>
> You should use shared static this to initialize immutable
> variables.
OK, thanks a lot for the help.
Cheers,
Stew
More information about the Digitalmars-d-learn
mailing list