Template instance.
Template T is an instance of.
static struct S(T) { } static assert(__traits(isSame, TemplateOf!(S!int), S)); static void func(T)() { } static assert(__traits(isSame, TemplateOf!(func!int), func)); template T(U) { } static assert(__traits(isSame, TemplateOf!(T!int), T));
Determines the template T is an instance of.