detect if a symbol is template

Lirong leon.li.lirong at gmail.com
Wed Feb 17 22:18:43 PST 2010


Hi,

Can anyone show me how to detect if a symbol is template?

The following is not working:

template A()
{
...
}

alias a A;

static if(is (a == template)) // error

Best regards




More information about the Digitalmars-d mailing list