Stopping compile time execution

Russel Winder russel at
Fri May 25 16:12:37 UTC 2018

On Sat, 2018-05-26 at 04:00 +1200, rikki cattermole via Digitalmars-d-
learn wrote:
> […]
> Use a module constructor to initialize your global.

Splendid idea! :-)

I know, I should have thought of that.

I note that if you click "Constructor" on
you get taken to which
really does help describe the concept of a module constructor.

Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the Digitalmars-d-learn mailing list