There is some inconsistency between templates and template functions as this works as I want to:
```d
import std.stdio;

void f(int i=3)()
{
    writeln(i);
}

void main()
{
    f!1;  // 1
    f!(); // 3
    f;    // 3
}
```

Reply via email to