On Thursday, 29 October 2015 at 08:27:04 UTC, Daniel N wrote:
class Base(T) : IBase
{
   final string Name()
   {
       return typeof(this).stringof;
   }
}

class One : Base!One { }
class Two : Base!Two { }

Meh, sorry, ofcourse it should be:

return typeof(cast(T)this).stringof;

Reply via email to