How to implement `isTemplate` traits?

drug drug2004 at bk.ru
Wed Oct 4 09:57:33 UTC 2017


04.10.2017 12:54, Biotronic пишет:
> 
> template isTemplate(T...) if (T.length == 1) {
>      enum isTemplate = __traits(isTemplate, T[0]);
> }
> 
> -- 
>    Biotronic

Thank you!


More information about the Digitalmars-d-learn mailing list