On Sun, Oct 2, 2011 at 19:12, Timon Gehr <timon.g...@gmx.ch> wrote:

> Types are symbols, so just using alias template arguments works.

Hmm, no.


template isSymbol(alias a)
{
    enum isSymbol = true;
}

void main()
{
    enum a = isSymbol!int;
}

Error: template instance isSymbol!(int) does not match template
declaration isSymbol(alias a)

Reply via email to