On Monday, 17 June 2019 at 05:04:50 UTC, Bart wrote:
Consider

void foo(string A = "")(string B = "")
{
    static if (A != "")
       do(A);
    else
       do(B);
}

[...]

I see the annoyance but D clearly separates what is CT and RT so such a change would require a DIP. I don't even know if this is technically possible.

About what you want to achieve, note that import() is more used to include code, import lookup tables and this kind of things. It must not be seen as a CT way of reading files.
  • CT/RT annoyance Bart via Digitalmars-d-learn
    • Re: CT/RT annoyance user1234--- via Digitalmars-d-learn

Reply via email to