class a(T1, T2, ...) { static if (a.TypeInfo.NumParameters == 1) .... else .... } Is this possible?
I need to get the number of type parameters of a class at compile
time:
- Get class type parameters at compile time js.mdnq
- Re: Get class type parameters at compile time Philippe Sigaud
- Re: Get class type parameters at compile time js.mdnq
- Re: Get class type parameters at compile time bearophile
- Re: Get class type parameters at compile time Philippe Sigaud
- Re: Get class type parameters at compile time js.mdnq
- Re: Get class type parameters at compile time Philippe Sigaud
- Re: Get class type parameters at compile time js.mdnq