We have: this() // instance constructor static this() // thread-local static constructor
But what I need is: __gshared this() // not-thread-local static constructor (?) On 22 July 2014 16:31, Jacob Carlborg via Digitalmars-d < [email protected]> wrote: > On 22/07/14 08:25, Manu via Digitalmars-d wrote: > > It seems __gshared constructors aren't working... although I thought >> they did; I'm sure I've used them before in various occasions :/ >> > > What would that do? I didn't know that was possible to do. > > -- > /Jacob Carlborg >
