Hello. I have this singleton,
------------------------------------------------------
class Singleton
{
private this() {}
static __gshared typeof(this) instance = new this;
}
------------------------------------------------------and I wonder if it has any weaknesses. Or is there a better way to make a Singleton?
,vladde,
