__gshared this()

Manu via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 22 00:27:36 PDT 2014


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 <
digitalmars-d at puremagic.com> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140722/bb202949/attachment.html>


More information about the Digitalmars-d mailing list