How to check whether a struct is templated?

Andre Pany via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jun 13 03:32:47 PDT 2017


On Tuesday, 13 June 2017 at 09:18:47 UTC, Ali Çehreli wrote:
> On 06/13/2017 02:00 AM, Andre Pany wrote:
>
>> I can not find a traits "isTemplateOf".
>
> You're close. :)
>
>   https://dlang.org/phobos/std_traits.html#isInstanceOf
>
> Ali

Thanks :)

Kind regards
André


More information about the Digitalmars-d-learn mailing list