I have a class

static class myclass(T)
{
   static void myfunc();
}

which I have to call like myclass!Q.myfunc();

How can I create a default type so that I can call it like myclass.myfunc()?

I've tried

static class myclass(T = int) and (alias T = int), neither worked.


Reply via email to