I need to get the number of type parameters of a class at compile time:

class a(T1, T2, ...)
{
   static if (a.TypeInfo.NumParameters == 1)
      ....
   else
      ....

}

Is this possible?

Reply via email to