ref2401:

template GetString(alias Arg)
{
        enum string GetString = Arg.stringof;
}
...
        writeln(GetString!int); // Error: template instance

Template alias arguments don't yet accept built-in types as int. It will be fixed.

Bye,
bearophile

Reply via email to