On Sunday, 9 February 2014 at 18:06:46 UTC, Martin Nowak wrote:
On 02/09/2014 01:20 PM, luka8088 wrote:
class FunctionPointerSingleton {

  private static __gshared typeof(this) instance_;

  // tls
  @property static typeof(this) function () get;
You don't even need to make this TLS, right?

I don't follow. get should be TLS, as a replacement for SyncSingleton's _instantiated TLS bool.

Reply via email to