We have: this() // instance constructor static this() // thread-local static constructorBut what I need is: __gshared this() // not-thread-local static constructor (?)
shared static this() { ... }
http://dlang.org/class#SharedStaticConstructor
We have: this() // instance constructor static this() // thread-local static constructorBut what I need is: __gshared this() // not-thread-local static constructor (?)
shared static this() { ... }
http://dlang.org/class#SharedStaticConstructor