How to test templates for equality?
Uranuz via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jun 30 22:39:59 PDT 2014
I have a question. How could I know if some alias or template
parameter is some template symbol. I want to not that I want to
know that symbol is template symbol itself but not instance of
template (std.traits.isInstanceOf give answer for that question).
I'll give some example
template Foo(T...)
{
}
template isFoo(alias F)
{
}
More information about the Digitalmars-d-learn
mailing list