On Thursday, 5 January 2012 at 22:53:12 UTC, Ali Çehreli wrote:
On 01/05/2012 02:15 PM, asm wrote:how can i implementing the singleton pattern in D?Is singleton still alive? ;)An idea is to instantiate the object in the module's static this().Ali
Yeah, same question, what difference between singleton and `static this()`?