Is it possible to check if a type is an instance of a template?

Andrej Mitrovic via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue May 6 00:13:44 PDT 2014


On 5/6/14, bearophile via Digitalmars-d-learn
<digitalmars-d-learn at puremagic.com> wrote:
> There is now std.traits.isInstanceOf that could do what you need.

Someone resurrected a thread from 2011. Of course there's isInstanceOf
when I added it myself at the end of 2012.


More information about the Digitalmars-d-learn mailing list