Set global immutables from main/getopt?

Stanislav Blinov stanislav.blinov at gmail.com
Tue Jan 28 12:33:44 PST 2014


On Tuesday, 28 January 2014 at 20:07:25 UTC, Andrew Klaassen 
wrote:

> Fascinating.  Any chance someone would be able to add this to 
> http://dlang.org/module.html as an example for people like me 
> who'd have no clue otherwise?

Initialization of immutable globals is actually in the docs: 
http://dlang.org/const3.html. It's a third example in "Immutable 
Storage Class". ;)


More information about the Digitalmars-d-learn mailing list