CT/RT annoyance
user1234 at 12.de
user1234 at 12.de
Mon Jun 17 12:01:21 UTC 2019
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.
More information about the Digitalmars-d-learn
mailing list