Static constructors?

awishformore awishformore at nospam.plz
Wed Jul 21 19:27:10 PDT 2010


On 22/07/2010 03:36, Sean Kelly wrote:
> Make the ctors "shared static this()" -- those are only constructed once when the process starts up.  The non-shared static ctors are thread-local.

That concept is really weird, though. So this applies to anything 
static, not just variables?


More information about the Digitalmars-d-learn mailing list