How do I check if this field is of this template struct?

frame frame86 at live.com
Fri Mar 19 17:40:39 UTC 2021


On Friday, 19 March 2021 at 16:41:11 UTC, Jack wrote:

> thanks this works fine outside a method but not in a static 
> method. what am I missing?

Reading the manual ;)

> To use isInstanceOf to check the identity of a template while 
> inside of said template, use TemplateOf.


More information about the Digitalmars-d-learn mailing list